Mercurial > vim
diff src/ex_docmd.c @ 8524:2f57bbe870ea v7.4.1552
commit https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 12 22:11:39 2016 +0100
patch 7.4.1552
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Mar 2016 22:15:05 +0100 |
parents | eed1ca42f9aa |
children | 63dc856bd13d |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -11777,16 +11777,16 @@ ex_filetype(exarg_T *eap) { if (*arg == 'o' || !filetype_detect) { - source_runtime((char_u *)FILETYPE_FILE, TRUE); + source_runtime((char_u *)FILETYPE_FILE, DIP_ALL); filetype_detect = TRUE; if (plugin) { - source_runtime((char_u *)FTPLUGIN_FILE, TRUE); + source_runtime((char_u *)FTPLUGIN_FILE, DIP_ALL); filetype_plugin = TRUE; } if (indent) { - source_runtime((char_u *)INDENT_FILE, TRUE); + source_runtime((char_u *)INDENT_FILE, DIP_ALL); filetype_indent = TRUE; } } @@ -11802,18 +11802,18 @@ ex_filetype(exarg_T *eap) { if (plugin) { - source_runtime((char_u *)FTPLUGOF_FILE, TRUE); + source_runtime((char_u *)FTPLUGOF_FILE, DIP_ALL); filetype_plugin = FALSE; } if (indent) { - source_runtime((char_u *)INDOFF_FILE, TRUE); + source_runtime((char_u *)INDOFF_FILE, DIP_ALL); filetype_indent = FALSE; } } else { - source_runtime((char_u *)FTOFF_FILE, TRUE); + source_runtime((char_u *)FTOFF_FILE, DIP_ALL); filetype_detect = FALSE; } }