aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2021-10-12 18:05:01 +0200
committerDundar Göc <gocdundar@gmail.com>2021-10-19 15:20:33 +0200
commit38dd53c525054daf83dba27d7d46e90e8b41fa50 (patch)
tree1eb4fd0282fd84233209db3b5889a818a2566eca /src/nvim/edit.c
parentf98b8d2d44d289263b1a3b33b6a7f20644ef671c (diff)
downloadrneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.gz
rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.bz2
rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.zip
refactor: make commas trail in enums
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index ea49222a93..b3a08971e9 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -6216,8 +6216,8 @@ static void internal_format(int textwidth, int second_indent, int flags, int for
open_line(FORWARD, OPENLINE_DELSPACES + OPENLINE_MARKFIX
+ (fo_white_par ? OPENLINE_KEEPTRAIL : 0)
+ (do_comments ? OPENLINE_DO_COM : 0)
- + ((flags & INSCHAR_COM_LIST) ? OPENLINE_COM_LIST : 0)
- , ((flags & INSCHAR_COM_LIST) ? second_indent : old_indent));
+ + ((flags & INSCHAR_COM_LIST) ? OPENLINE_COM_LIST : 0),
+ ((flags & INSCHAR_COM_LIST) ? second_indent : old_indent));
if (!(flags & INSCHAR_COM_LIST)) {
old_indent = 0;
}