diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-10-12 18:05:01 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-10-19 15:20:33 +0200 |
commit | 38dd53c525054daf83dba27d7d46e90e8b41fa50 (patch) | |
tree | 1eb4fd0282fd84233209db3b5889a818a2566eca /src/nvim/ops.c | |
parent | f98b8d2d44d289263b1a3b33b6a7f20644ef671c (diff) | |
download | rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.gz rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.bz2 rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.zip |
refactor: make commas trail in enums
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 55c34586cb..bd8991e5f2 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -4324,8 +4324,8 @@ void format_lines(linenr_T line_count, int avoid_fex) } else { is_not_par = true; } - next_is_not_par = fmt_check_par(curwin->w_cursor.lnum - , &next_leader_len, &next_leader_flags, do_comments + next_is_not_par = fmt_check_par(curwin->w_cursor.lnum, + &next_leader_len, &next_leader_flags, do_comments ); is_end_par = (is_not_par || next_is_not_par); if (!is_end_par && do_trail_white) { @@ -4353,8 +4353,8 @@ void format_lines(linenr_T line_count, int avoid_fex) next_leader_len = 0; next_leader_flags = NULL; } else { - next_is_not_par = fmt_check_par(curwin->w_cursor.lnum + 1 - , &next_leader_len, &next_leader_flags, do_comments + next_is_not_par = fmt_check_par(curwin->w_cursor.lnum + 1, + &next_leader_len, &next_leader_flags, do_comments ); if (do_number_indent) { next_is_start_par = |