updated for version 7.1-229
diff --git a/src/edit.c b/src/edit.c
index 60fd652..4edd0bc 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -8618,6 +8618,14 @@
if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
dollar_vcol = curwin->w_virtcol;
+#ifdef FEAT_FOLDING
+ /* When deleting a char the cursor line must never be in a closed fold.
+ * E.g., when 'foldmethod' is indent and deleting the first non-white
+ * char before a Tab. */
+ if (did_backspace)
+ foldOpenCursor();
+#endif
+
return did_backspace;
}
diff --git a/src/version.c b/src/version.c
index 8126591..aea9025 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 229,
+/**/
228,
/**/
227,