Skip to content

Commit 58a71a9

Browse files
committed
indent_style为tab时取消部分特性
1 parent 69188f7 commit 58a71a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CodeService/src/LuaEditorConfig.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,10 @@ void LuaEditorConfig::ParseFromSection(std::shared_ptr<LuaCodeStyleOptions> opti
304304
styleOption.second = NameStyleRuleMatcher::ParseFrom(value);
305305
}
306306
}
307+
308+
if (options->indent_style == IndentStyle::Tab)
309+
{
310+
options->continuous_assign_table_field_align_to_equal_sign = false;
311+
options->align_table_field_to_first_field = false;
312+
}
307313
}

0 commit comments

Comments
 (0)