aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-06-20 20:34:24 -0400
committerJames McCoy <jamessan@jamessan.com>2016-07-08 01:45:15 -0400
commit080476882be32768a97e26af22133435ccb8fc2a (patch)
treedfbde66af3230fb1ed70319ea0c92930eda94806 /src/nvim/vim.h
parent55dcf0918c364dd58e700cde5f2efbf7da4b3051 (diff)
downloadrneovim-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/vim.h')
-rw-r--r--src/nvim/vim.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 745888af6a..47c5a0465a 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -308,9 +308,11 @@ enum {
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr( \
VV_HLSEARCH, !no_hlsearch && p_hls)
-// Used for flags of do_in_path()
-#define DIP_ALL 1 // all matches, not just the first one
-#define DIP_DIR 2 // find directories instead of files
-#define DIP_ERR 4 // give an error message when none found
+// Used for flags in do_in_path()
+#define DIP_ALL 0x01 // all matches, not just the first one
+#define DIP_DIR 0x02 // find directories instead of files
+#define DIP_ERR 0x04 // give an error message when none found
+#define DIP_START 0x08 // also use "start" directory in 'packpath'
+#define DIP_OPT 0x10 // also use "opt" directory in 'packpath'
#endif /* NVIM_VIM_H */