diff options
author | James McCoy <jamessan@jamessan.com> | 2016-06-20 20:34:24 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-07-08 01:45:15 -0400 |
commit | 080476882be32768a97e26af22133435ccb8fc2a (patch) | |
tree | dfbde66af3230fb1ed70319ea0c92930eda94806 /src/nvim/digraph.c | |
parent | 55dcf0918c364dd58e700cde5f2efbf7da4b3051 (diff) | |
download | rneovim-080476882be32768a97e26af22133435ccb8fc2a.tar.gz rneovim-080476882be32768a97e26af22133435ccb8fc2a.tar.bz2 rneovim-080476882be32768a97e26af22133435ccb8fc2a.zip |
vim-patch:7.4.1552
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Diffstat (limited to 'src/nvim/digraph.c')
-rw-r--r-- | src/nvim/digraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c index 9525024c1b..aad145b3e5 100644 --- a/src/nvim/digraph.c +++ b/src/nvim/digraph.c @@ -1757,12 +1757,12 @@ char_u* keymap_init(void) vim_snprintf(buf, buflen, "keymap/%s_%s.vim", curbuf->b_p_keymap, p_enc); - if (source_runtime((char_u *)buf, FALSE) == FAIL) { + if (source_runtime((char_u *)buf, 0) == FAIL) { // try finding "keymap/'keymap'.vim" in 'runtimepath' vim_snprintf(buf, buflen, "keymap/%s.vim", curbuf->b_p_keymap); - if (source_runtime((char_u *)buf, FALSE) == FAIL) { + if (source_runtime((char_u *)buf, 0) == FAIL) { xfree(buf); return (char_u *)N_("E544: Keymap file not found"); } |