# HG changeset patch # User vimboss # Date 1162412745 0 # Node ID e6aed39f12648124b0b4e23c669cab6ceda2ea1e # Parent 1780e6046802498a3c4d0ddc7b99f1bd9ac75f31 updated for version 7.0-158 diff --git a/src/edit.c b/src/edit.c --- a/src/edit.c +++ b/src/edit.c @@ -9204,6 +9204,10 @@ ins_eol(c) #ifdef FEAT_CINDENT can_cindent = TRUE; #endif +#ifdef FEAT_FOLDING + /* When inserting a line the cursor line must never be in a closed fold. */ + foldOpenCursor(); +#endif return (!i); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 158, +/**/ 157, /**/ 156,