0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-229

This commit is contained in:
Bram Moolenaar
2008-01-14 19:12:28 +00:00
parent ef6fc09758
commit ce3be4756a
2 changed files with 10 additions and 0 deletions

View File

@@ -8618,6 +8618,14 @@ ins_bs(c, mode, inserted_space_p)
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;
}

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
229,
/**/
228,
/**/