Mercurial > vim
diff src/ex_cmds.c @ 31804:50555279168b
patch 9.0.1234: the code style has to be checked manually
Commit: https://github.com/vim/vim/commit/ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 22 21:14:53 2023 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Jan 2023 22:15:04 +0100 |
parents | b89cfd86e18e |
children | ca6bc7c04163 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -722,7 +722,8 @@ do_move(linenr_T line1, linenr_T line2, { 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, { 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); }