Skip to content

Commit 6fe1123

Browse files
committed
格式化将移除由分号构成的空行,包括if语句后的无意义分号
1 parent 167be06 commit 6fe1123

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CodeService/src/LuaFormatter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ std::shared_ptr<FormatElement> LuaFormatter::FormatBlock(std::shared_ptr<LuaAstN
386386
indentEnv->AddChild(childEnv);
387387
}
388388

389+
break;
390+
}
391+
case LuaAstNodeType::EmptyStatement:
392+
{
389393
break;
390394
}
391395
default:

0 commit comments

Comments
 (0)