mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:7.4.1551
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
6bef5306e4
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user