29 Aug 2012 15:22
Patch 7.3.641
Bram Moolenaar <Bram <at> Moolenaar.net>
2012-08-29 13:22:55 GMT
2012-08-29 13:22:55 GMT
Patch 7.3.641
Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
Solution: Add the bang. (Christian Brabandt)
Files: src/fold.c
*** ../vim-7.3.640/src/fold.c 2012-08-08 18:01:00.000000000 +0200
--- src/fold.c 2012-08-29 15:17:39.000000000 +0200
***************
*** 3373,3379 ****
/* open nested folds while this fold is open */
if (fprintf(fd, "%ld", fp->fd_top + off) < 0
|| put_eol(fd) == FAIL
! || put_line(fd, "normal zo") == FAIL)
return FAIL;
if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
off + fp->fd_top)
--- 3373,3379 ----
/* open nested folds while this fold is open */
if (fprintf(fd, "%ld", fp->fd_top + off) < 0
|| put_eol(fd) == FAIL
! || put_line(fd, "normal! zo") == FAIL)
return FAIL;
if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
off + fp->fd_top)
***************
*** 3417,3423 ****
{
if (fprintf(fd, "%ld", fp->fd_top + off) < 0
|| put_eol(fd) == FAIL
(Continue reading)
RSS Feed