Mercurial > vim
diff src/proto/ex_getln.pro @ 26195:41b3718d84c3 v8.2.3629
patch 8.2.3629: command completion in cmdline window uses global commands
Commit: https://github.com/vim/vim/commit/a1198124370a366ff02811a43845a631b5c6e7f0
Author: mityu <mityu.mail@gmail.com>
Date: Sat Nov 20 19:13:39 2021 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Nov 2021 20:15:03 +0100 |
parents | e8873138ffbb |
children | 34f1b7d6974a |
line wrap: on
line diff
--- 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 : */