Skip to content

Commit 2265c0a

Browse files
committed
修复typeformat吃掉逗号的问题
1 parent 780f389 commit 2265c0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodeService/src/LuaTypeFormat.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ void LuaTypeFormat::FormatLine(int line)
192192
{
193193
LuaCodeStyleOptions temp = _options;
194194
temp.insert_final_newline = true;
195+
temp.remove_expression_list_finish_comma = false;
195196
LuaFormatter formatter(_parser, temp);
196197
formatter.BuildFormattedElement();
197198

0 commit comments

Comments
 (0)