summaryrefslogtreecommitdiffstats
path: root/src/filepath.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/filepath.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/filepath.c')
-rw-r--r--src/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c
index be1a5810ad..c448edb049 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -1388,7 +1388,7 @@ f_globpath(typval_T *argvars, typval_T *rettv)
if (file != NULL && !error)
{
ga_init2(&ga, sizeof(char_u *), 10);
- globpath(tv_get_string(&argvars[0]), file, &ga, flags);
+ globpath(tv_get_string(&argvars[0]), file, &ga, flags, FALSE);
if (rettv->v_type == VAR_STRING)
rettv->vval.v_string = ga_concat_strings(&ga, "\n");
else if (rettv_list_alloc(rettv) == OK)