mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00: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)
|
||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
5080,
|
||||
/**/
|
||||
5079,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user