| 37 | } |
| 38 | |
| 39 | void LuaCodeFormat::RemoveCodeStyle(const std::string &workspaceUri) { |
| 40 | for (auto it = _configs.begin(); it != _configs.end(); it++) { |
| 41 | if (it->Workspace == workspaceUri) { |
| 42 | _configs.erase(it); |
| 43 | break; |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | void LuaCodeFormat::SetDefaultCodeStyle(ConfigMap &configMap) { |
| 49 | if (!configMap.empty()) { |
no test coverage detected