summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ops.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ops.c b/src/ops.c
index ab3d636cdc..0eb5903418 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -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 c856835e70..67230f5dad 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,