Skip to content

Commit b11abfa

Browse files
authored
Merge pull request #176 from AlWoSp/awa/const-namestyle-configuration
Parse namestyle configuration for `const_variable_name_style`
2 parents 5b5f544 + f1e7573 commit b11abfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodeFormatCore/src/Config/LuaDiagnosticStyle.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ void LuaDiagnosticStyle::ParseTree(InfoTree &tree) {
104104
{global_variable_name_style, "global_variable_name_style"},
105105
{module_name_style, "module_name_style" },
106106
{require_module_name_style, "require_module_name_style" },
107-
{class_name_style, "class_name_style" }
107+
{class_name_style, "class_name_style" },
108+
{const_variable_name_style, "const_variable_name_style" }
108109
};
109110
for (auto &pair: name_styles) {
110111
if (auto n = root.GetValue(pair.second); !n.IsNull()) {

0 commit comments

Comments
 (0)