mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -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)
|
if (vcol >= MAXCOL)
|
||||||
{
|
{
|
||||||
emsg(_(e_resulting_text_too_long));
|
emsg(_(e_resulting_text_too_long));
|
||||||
|
// set got_int to break out of any loop
|
||||||
|
got_int = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (has_mbyte)
|
if (has_mbyte)
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5080,
|
||||||
/**/
|
/**/
|
||||||
5079,
|
5079,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user