diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-12 22:11:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-12 22:11:39 +0100 |
commit | 7f8989dd8a627af2185df381195351a913f3777f (patch) | |
tree | 43e30468ff036d93a02f06a0ab4186f96013adc1 /src/syntax.c | |
parent | 6bef5306e4f2cacb3a93667992c2312d4b293c9d (diff) | |
download | vim-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/syntax.c')
-rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index ac80ab4e7..7d2233a98 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -4813,7 +4813,7 @@ syn_cmd_include(exarg_T *eap, int syncing UNUSED) prev_toplvl_grp = curwin->w_s->b_syn_topgrp; curwin->w_s->b_syn_topgrp = sgl_id; if (source ? do_source(eap->arg, FALSE, DOSO_NONE) == FAIL - : source_runtime(eap->arg, TRUE) == FAIL) + : source_runtime(eap->arg, DIP_ALL) == FAIL) EMSG2(_(e_notopen), eap->arg); curwin->w_s->b_syn_topgrp = prev_toplvl_grp; current_syn_inc_tag = prev_syn_inc_tag; @@ -7075,7 +7075,7 @@ init_highlight( else { ++recursive; - (void)source_runtime((char_u *)"syntax/syncolor.vim", TRUE); + (void)source_runtime((char_u *)"syntax/syncolor.vim", DIP_ALL); --recursive; } } @@ -7104,7 +7104,7 @@ load_colors(char_u *name) if (buf != NULL) { sprintf((char *)buf, "colors/%s.vim", name); - retval = source_runtime(buf, FALSE); + retval = source_runtime(buf, DIP_START + DIP_OPT); vim_free(buf); #ifdef FEAT_AUTOCMD apply_autocmds(EVENT_COLORSCHEME, name, curbuf->b_fname, FALSE, curbuf); |