diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-07-13 16:34:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-07-13 16:34:32 +0200 |
commit | 2b79bfdeabbbe8f6e5378290c72c770f84796c08 (patch) | |
tree | 1574d5df8d2e4eb4f868454ade5c570dc5a58365 | |
parent | a0aa9070be2225552598bd08556c103a3de638ef (diff) | |
download | vim-2b79bfdeabbbe8f6e5378290c72c770f84796c08.zip |
updated for version 7.4a.017
Problem: When 'foldmethod' is "indent", using ">>" on a line just above a
fold makes the cursor line folded. (Evan Laforge)
Solution: Call foldOpenCursor(). (Christian Brabandt)
-rw-r--r-- | src/ops.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -267,6 +267,10 @@ op_shift(oap, curs_top, amount) } changed_lines(oap->start.lnum, 0, oap->end.lnum + 1, 0L); +#ifdef FEAT_FOLDING + /* The cursor line is not in a closed fold */ + foldOpenCursor(); +#endif #ifdef FEAT_VISUAL if (oap->block_mode) diff --git a/src/version.c b/src/version.c index c856835e7..67230f5da 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 17, +/**/ 16, /**/ 15, |