mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00

committed by
Justin M. Keyes

parent
fe5f38d8bd
commit
51af911a27
@@ -603,6 +603,11 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline,
|
||||
cmd_getline, cmd_cookie);
|
||||
recursive--;
|
||||
|
||||
// Ignore trailing '|'-separated commands in preview-mode ('inccommand').
|
||||
if (State & CMDPREVIEW) {
|
||||
next_cmdline = NULL;
|
||||
}
|
||||
|
||||
if (cmd_cookie == (void *)&cmd_loop_cookie)
|
||||
/* Use "current_line" from "cmd_loop_cookie", it may have been
|
||||
* incremented when defining a function. */
|
||||
|
Reference in New Issue
Block a user