diff options
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 32c72879cc..7fd095268a 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -722,7 +722,8 @@ do_move(linenr_T line1, linenr_T line2, linenr_T dest) { mark_adjust_nofold(line2 + 1, dest, -num_lines, 0L); #ifdef FEAT_FOLDING - FOR_ALL_TAB_WINDOWS(tp, win) { + FOR_ALL_TAB_WINDOWS(tp, win) + { if (win->w_buffer == curbuf) foldMoveRange(&win->w_folds, line1, line2, dest); } @@ -737,7 +738,8 @@ do_move(linenr_T line1, linenr_T line2, linenr_T dest) { mark_adjust_nofold(dest + 1, line1 - 1, num_lines, 0L); #ifdef FEAT_FOLDING - FOR_ALL_TAB_WINDOWS(tp, win) { + FOR_ALL_TAB_WINDOWS(tp, win) + { if (win->w_buffer == curbuf) foldMoveRange(&win->w_folds, dest + 1, line1 - 1, line2); } |