diff options
author | James McCoy <jamessan@jamessan.com> | 2016-06-20 21:04:08 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-07-08 01:43:37 -0400 |
commit | 55dcf0918c364dd58e700cde5f2efbf7da4b3051 (patch) | |
tree | 7849ba89df702346cce1b31ca756eaa2540a8083 /src/nvim/ex_cmds2.c | |
parent | 26f74fdf61827f5afc6fe4e90b9e9497264cb039 (diff) | |
download | rneovim-55dcf0918c364dd58e700cde5f2efbf7da4b3051.tar.gz rneovim-55dcf0918c364dd58e700cde5f2efbf7da4b3051.tar.bz2 rneovim-55dcf0918c364dd58e700cde5f2efbf7da4b3051.zip |
vim-patch:7.4.1551
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
https://github.com/vim/vim/commit/6bef5306e4f2cacb3a93667992c2312d4b293c9d
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 17125ec798..dda8bf782e 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -2285,10 +2285,6 @@ int source_runtime(char_u *name, int all) return do_in_runtimepath(name, all, source_callback, NULL); } -#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. - /// Find the file "name" in all directories in "path" and invoke /// "callback(fname, cookie)". /// "name" can contain wildcards. @@ -2297,8 +2293,8 @@ int source_runtime(char_u *name, int all) /// When "flags" has DIP_ERR: give an error message if there is no match. /// /// return FAIL when no file could be sourced, OK otherwise. -static int do_in_path(char_u *path, char_u *name, int flags, - DoInRuntimepathCB callback, void *cookie) +int do_in_path(char_u *path, char_u *name, int flags, + DoInRuntimepathCB callback, void *cookie) { char_u *tail; int num_files; |