From a1198124370a366ff02811a43845a631b5c6e7f0 Mon Sep 17 00:00:00 2001 From: mityu Date: Sat, 20 Nov 2021 19:13:39 +0000 Subject: patch 8.2.3629: command completion in cmdline window uses global commands Problem: Command completion in cmdline window uses global user commands, not local commands for the window where it was opened from. Solution: Use local commands. (closes #9168) --- src/proto/ex_getln.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto/ex_getln.pro') diff --git a/src/proto/ex_getln.pro b/src/proto/ex_getln.pro index d047e39da..d6f19110e 100644 --- a/src/proto/ex_getln.pro +++ b/src/proto/ex_getln.pro @@ -38,6 +38,7 @@ int get_cmdline_type(void); int get_cmdline_firstc(void); int get_list_range(char_u **str, int *num1, int *num2); char *check_cedit(void); +int is_in_cmdwin(void); char_u *script_get(exarg_T *eap, char_u *cmd); void get_user_input(typval_T *argvars, typval_T *rettv, int inputdialog, int secret); /* vim: set ft=c : */ -- cgit v1.2.1