summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-12 22:11:39 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-12 22:11:39 +0100
commit7f8989dd8a627af2185df381195351a913f3777f (patch)
tree43e30468ff036d93a02f06a0ab4186f96013adc1 /src/spell.c
parent6bef5306e4f2cacb3a93667992c2312d4b293c9d (diff)
downloadvim-git-7f8989dd8a627af2185df381195351a913f3777f.tar.gz
patch 7.4.1552v7.4.1552
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spell.c b/src/spell.c
index 9220bc0be..3f23bf992 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -2478,7 +2478,7 @@ spell_load_lang(char_u *lang)
"spell/%s.%s.spl",
#endif
lang, spell_enc());
- r = do_in_runtimepath(fname_enc, FALSE, spell_load_cb, &sl);
+ r = do_in_runtimepath(fname_enc, 0, spell_load_cb, &sl);
if (r == FAIL && *sl.sl_lang != NUL)
{
@@ -2490,7 +2490,7 @@ spell_load_lang(char_u *lang)
"spell/%s.ascii.spl",
#endif
lang);
- r = do_in_runtimepath(fname_enc, FALSE, spell_load_cb, &sl);
+ r = do_in_runtimepath(fname_enc, 0, spell_load_cb, &sl);
#ifdef FEAT_AUTOCMD
if (r == FAIL && *sl.sl_lang != NUL && round == 1
@@ -2519,7 +2519,7 @@ spell_load_lang(char_u *lang)
{
/* At least one file was loaded, now load ALL the additions. */
STRCPY(fname_enc + STRLEN(fname_enc) - 3, "add.spl");
- do_in_runtimepath(fname_enc, TRUE, spell_load_cb, &sl);
+ do_in_runtimepath(fname_enc, DIP_ALL, spell_load_cb, &sl);
}
}