mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.5080: when indenting gets out of hand it is hard to stop
Problem: When indenting gets out of hand it is hard to stop. Solution: When line gets too long set got_int.
This commit is contained in:
@@ -1781,6 +1781,8 @@ ex_retab(exarg_T *eap)
|
||||
if (vcol >= MAXCOL)
|
||||
{
|
||||
emsg(_(e_resulting_text_too_long));
|
||||
// set got_int to break out of any loop
|
||||
got_int = TRUE;
|
||||
break;
|
||||
}
|
||||
if (has_mbyte)
|
||||
|
Reference in New Issue
Block a user