mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00

committed by
Justin M. Keyes

parent
ada82f3482
commit
f89d0d8230
@@ -4135,7 +4135,7 @@ skip:
|
||||
buf_T *preview_buf = NULL;
|
||||
size_t subsize = preview_lines.subresults.size;
|
||||
if (preview && !aborting()) {
|
||||
if (got_quit) { // Substitution is too slow, disable 'inccommand'.
|
||||
if (got_quit || profile_passed_limit(timeout)) { // Too slow, disable.
|
||||
set_string_option_direct((char_u *)"icm", -1, (char_u *)"", OPT_FREE,
|
||||
SID_NONE);
|
||||
} else if (*p_icm != NUL && pat != NULL) {
|
||||
|
Reference in New Issue
Block a user