mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
'inccommand': rename 'incsubstitute'
'inccommand' allows us to expand the feature to other commands, such as: :cdo :cfdo :global Also rename "IncSubstitute" highlight group to "Substitute".
This commit is contained in:
@@ -1592,7 +1592,7 @@ static int command_line_changed(CommandLineState *s)
|
||||
redrawcmdline();
|
||||
s->did_incsearch = true;
|
||||
} else if (s->firstc == ':'
|
||||
&& *p_ics != NUL // 'incsubstitute' is set
|
||||
&& *p_icm != NUL // 'inccommand' is set
|
||||
&& cmdline_star == 0 // not typing a password
|
||||
&& cmd_is_live(ccline.cmdbuff)) {
|
||||
// process a "live" command
|
||||
|
Reference in New Issue
Block a user