| 39 | } |
| 40 | |
| 41 | void FormatContext::SetConfigFilePath(std::string_view configPath) { |
| 42 | if (!configPath.empty()) { |
| 43 | auto &config = _configs.emplace_back(""); |
| 44 | config.Editorconfig = LuaEditorConfig::OpenFile(std::string(configPath)); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | void FormatContext::SetDefaultStyleOptions(std::map<std::string, std::string, std::less<>> &keyValues) { |
| 49 | if (keyValues.empty()) { |
no test coverage detected