mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
fix(inccommand): don't preview in Ex mode (#26587)
This commit is contained in:
@@ -2633,6 +2633,7 @@ static int command_line_changed(CommandLineState *s)
|
||||
if (s->firstc == ':'
|
||||
&& current_sctx.sc_sid == 0 // only if interactive
|
||||
&& *p_icm != NUL // 'inccommand' is set
|
||||
&& !exmode_active // not in ex mode
|
||||
&& curbuf->b_p_ma // buffer is modifiable
|
||||
&& cmdline_star == 0 // not typing a password
|
||||
&& !vpeekc_any()
|
||||
|
Reference in New Issue
Block a user