# HG changeset patch # User Bram Moolenaar # Date 1655064903 -7200 # Node ID eb383afb25ea94ece547255d6e0f72db074ffe05 # Parent b96fb0230ae9f8db68b86ac1ffc91d5f1050bc97 patch 8.2.5080: when indenting gets out of hand it is hard to stop Commit: https://github.com/vim/vim/commit/a7ac4c9c395d64059437e37045fa0ad5f9fecb0b Author: Bram Moolenaar Date: Sun Jun 12 21:11:03 2022 +0100 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. diff --git a/src/indent.c b/src/indent.c --- a/src/indent.c +++ b/src/indent.c @@ -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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5080, +/**/ 5079, /**/ 5078,