mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
Fix: When 'searchhl' causes a hang make CTRL-C disable 'shearchhl'.
This commit is contained in:
@@ -7119,7 +7119,7 @@ next_search_hl(win, shl, lnum, mincol)
|
||||
NULL
|
||||
#endif
|
||||
);
|
||||
if (called_emsg)
|
||||
if (called_emsg || got_int)
|
||||
{
|
||||
/* Error while handling regexp: stop using this regexp. */
|
||||
if (shl == &search_hl)
|
||||
|
Reference in New Issue
Block a user