From ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 22 Jan 2023 21:14:53 +0000 Subject: patch 9.0.1234: the code style has to be checked manually Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems. --- src/ex_cmds.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ex_cmds.c') 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); } -- cgit v1.2.3