summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
commitebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 (patch)
treed017ab5fcc15f2eef851de089c3b2aef39d7a387 /src/ex_cmds.c
parent3d79f0a4309995956bd8889940cca22f7a15881d (diff)
patch 9.0.1234: the code style has to be checked manuallyv9.0.1234
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
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);
}