]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-158 v7.0.158
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Nov 2006 20:25:45 +0000 (20:25 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Nov 2006 20:25:45 +0000 (20:25 +0000)
src/edit.c
src/version.c

index e117bedf4ff7bd1f5d991a02ccd18084b172d06f..dacbef574e541a5121d15b2e28b6cdb7155499ea 100644 (file)
@@ -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);
 }
index 82d0b88afe3deccca80c0434bcde2faf8bac3572..772e19cd5f9fd9d40e6058ef3084d3d7d372ef66 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    158,
 /**/
     157,
 /**/