From 3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 22 Jan 2023 18:38:51 +0000 Subject: patch 9.0.1231: completion of :runtime does not handle {where} argument Problem: Completion of :runtime does not handle {where} argument. Solution: Parse the {where} argument. (closes #11863) --- src/filepath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filepath.c') 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) -- cgit v1.2.3