Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated for version 7.3.641

Problem:    ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
Solution:   Add the bang. (Christian Brabandt)
  • Loading branch information...
commit 63518005360d039e2ee0996b63a4eb563328cb98 1 parent df61793
authored August 29, 2012

Showing 2 changed files with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/fold.c
  2. 2  src/version.c
4  src/fold.c
@@ -3373,7 +3373,7 @@ put_foldopen_recurse(fd, wp, gap, off)
3373 3373
 		/* open nested folds while this fold is open */
3374 3374
 		if (fprintf(fd, "%ld", fp->fd_top + off) < 0
3375 3375
 			|| put_eol(fd) == FAIL
3376  
-			|| put_line(fd, "normal zo") == FAIL)
  3376
+			|| put_line(fd, "normal! zo") == FAIL)
3377 3377
 		    return FAIL;
3378 3378
 		if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
3379 3379
 							     off + fp->fd_top)
@@ -3417,7 +3417,7 @@ put_fold_open_close(fd, fp, off)
3417 3417
 {
3418 3418
     if (fprintf(fd, "%ld", fp->fd_top + off) < 0
3419 3419
 	    || put_eol(fd) == FAIL
3420  
-	    || fprintf(fd, "normal z%c",
  3420
+	    || fprintf(fd, "normal! z%c",
3421 3421
 			   fp->fd_flags == FD_CLOSED ? 'c' : 'o') < 0
3422 3422
 	    || put_eol(fd) == FAIL)
3423 3423
 	return FAIL;
2  src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
720 720
 static int included_patches[] =
721 721
 {   /* Add new patch number below this line */
722 722
 /**/
  723
+    641,
  724
+/**/
723 725
     640,
724 726
 /**/
725 727
     639,

0 notes on commit 6351800

Please sign in to comment.
Something went wrong with that request. Please try again.