diff options
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 04e7d2fbcf..17693ecfc8 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1594,6 +1594,7 @@ static int command_line_changed(CommandLineState *s) } else if (s->firstc == ':' && KeyTyped // only if interactive && *p_icm != NUL // 'inccommand' is set + && curbuf->b_p_ma // buffer is modifiable && cmdline_star == 0 // not typing a password && cmd_is_live(ccline.cmdbuff)) { // process a "live" command ('inccommand') |