diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-11-07 00:59:32 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-11-08 21:22:13 +0100 |
commit | 6a3f8d48d0c96330511565aef5e10ad965e986b4 (patch) | |
tree | 7a01e0eb67c2dd535c57511af9ebe2949a3bac65 /src/nvim/ex_getln.c | |
parent | 1e0e301062f30846f33457ba3a689266213b8378 (diff) | |
download | rneovim-6a3f8d48d0c96330511565aef5e10ad965e986b4.tar.gz rneovim-6a3f8d48d0c96330511565aef5e10ad965e986b4.tar.bz2 rneovim-6a3f8d48d0c96330511565aef5e10ad965e986b4.zip |
'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".
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index dba7a107e2..07b50a8056 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -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 |