summaryrefslogtreecommitdiffstats
path: root/src/findfile.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-22 18:38:51 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 18:38:51 +0000
commit3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2 (patch)
tree2537444947feb570db10bbf8472aae375fdc7d16 /src/findfile.c
parentf3da4c8427b1b12d7aaffa307ec085ca97ea9ad9 (diff)
patch 9.0.1231: completion of :runtime does not handle {where} argumentv9.0.1231
Problem: Completion of :runtime does not handle {where} argument. Solution: Parse the {where} argument. (closes #11863)
Diffstat (limited to 'src/findfile.c')
-rw-r--r--src/findfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/findfile.c b/src/findfile.c
index ea07a89ed7..4e2ad774c6 100644
--- a/src/findfile.c
+++ b/src/findfile.c
@@ -2533,7 +2533,7 @@ expand_in_path(
glob_flags |= WILD_ICASE;
if (flags & EW_ADDSLASH)
glob_flags |= WILD_ADD_SLASH;
- globpath(paths, pattern, gap, glob_flags);
+ globpath(paths, pattern, gap, glob_flags, FALSE);
vim_free(paths);
return gap->ga_len;