| 29 | } |
| 30 | |
| 31 | void LuaCodeFormat::UpdateDiagnosticStyle(InfoTree &tree) { |
| 32 | _diagnosticStyle = LuaDiagnosticStyle(); |
| 33 | _diagnosticStyle.ParseTree(tree); |
| 34 | _diagnosticStyle.code_style_check = true; |
| 35 | _diagnosticStyle.name_style_check = true; |
| 36 | _diagnosticStyle.spell_check = true; |
| 37 | } |
| 38 | |
| 39 | void LuaCodeFormat::RemoveCodeStyle(const std::string &workspaceUri) { |
| 40 | for (auto it = _configs.begin(); it != _configs.end(); it++) { |
no test coverage detected