From 7f8989dd8a627af2185df381195351a913f3777f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 12 Mar 2016 22:11:39 +0100 Subject: patch 7.4.1552 Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'. --- src/digraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/digraph.c') diff --git a/src/digraph.c b/src/digraph.c index 5dab51b20..b17340cb2 100644 --- a/src/digraph.c +++ b/src/digraph.c @@ -2320,13 +2320,13 @@ keymap_init(void) /* try finding "keymap/'keymap'_'encoding'.vim" in 'runtimepath' */ vim_snprintf((char *)buf, buflen, "keymap/%s_%s.vim", curbuf->b_p_keymap, p_enc); - if (source_runtime(buf, FALSE) == FAIL) + if (source_runtime(buf, 0) == FAIL) # endif { /* try finding "keymap/'keymap'.vim" in 'runtimepath' */ vim_snprintf((char *)buf, buflen, "keymap/%s.vim", curbuf->b_p_keymap); - if (source_runtime(buf, FALSE) == FAIL) + if (source_runtime(buf, 0) == FAIL) { vim_free(buf); return (char_u *)N_("E544: Keymap file not found"); -- cgit v1.2.1