Patch 8.2.1554
Problem: Crash in normal test.
Solution: Skip adjusting marks if there are no folds.
Files: src/fold.c
*** ../vim-8.2.1553/src/fold.c 2020-08-31 21:14:58.637323346 +0200
--- src/fold.c 2020-08-31 21:21:42.480305529 +0200
***************
*** 1515,1520 ****
--- 1515,1523 ----
linenr_T last;
linenr_T top;
+ if (gap->ga_len == 0)
+ return;
+
// In Insert mode an inserted line at the top of a fold is considered part
// of the fold, otherwise it isn't.
if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM)
*** ../vim-8.2.1553/src/version.c 2020-08-31 21:14:58.637323346 +0200
--- src/version.c 2020-08-31 21:22:23.676201691 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1554,
/**/
--
Not too long ago, a program was something you watched on TV...
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///