mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
Incsubsitution feature
Originally implemented by * Clement0 * DesbyP * aym7 * Adrey06 * Robinhola in #4811. Major reworkings and bug fixes by * bfredl Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
This commit is contained in:
@@ -1591,6 +1591,10 @@ static int command_line_changed(CommandLineState *s)
|
||||
msg_starthere();
|
||||
redrawcmdline();
|
||||
s->did_incsearch = true;
|
||||
} else if (*p_ics != NUL && s->firstc == ':' && is_live(ccline.cmdbuff)) {
|
||||
// compute a live action
|
||||
do_cmdline(ccline.cmdbuff, NULL, NULL, DOCMD_KEEPLINE|DOCMD_LIVE_PREVIEW);
|
||||
redrawcmdline();
|
||||
}
|
||||
|
||||
if (cmdmsg_rl || (p_arshape && !p_tbidi && enc_utf8)) {
|
||||
|
Reference in New Issue
Block a user