Skip to content

Commit

Permalink
Merge pull request #176 from AlWoSp/awa/const-namestyle-configuration
Browse files Browse the repository at this point in the history
Parse namestyle configuration for `const_variable_name_style`
  • Loading branch information
CppCXY committed Jun 10, 2024
2 parents 5b5f544 + f1e7573 commit b11abfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CodeFormatCore/src/Config/LuaDiagnosticStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ void LuaDiagnosticStyle::ParseTree(InfoTree &tree) {
{global_variable_name_style, "global_variable_name_style"},
{module_name_style, "module_name_style" },
{require_module_name_style, "require_module_name_style" },
{class_name_style, "class_name_style" }
{class_name_style, "class_name_style" },
{const_variable_name_style, "const_variable_name_style" }
};
for (auto &pair: name_styles) {
if (auto n = root.GetValue(pair.second); !n.IsNull()) {
Expand Down

0 comments on commit b11abfa

Please sign in to comment.