mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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)
This commit is contained in:
parent
a0aa9070be
commit
2b79bfdeab
@ -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)
|
||||
|
@ -727,6 +727,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
17,
|
||||
/**/
|
||||
16,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user