We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8e583 commit 11f27a1Copy full SHA for 11f27a1
CodeFormat/src/LuaFormat.cpp
@@ -207,7 +207,7 @@ LuaStyle LuaFormat::GetStyle(std::string_view path) {
207
std::size_t matchProcess = 0;
208
for (auto &config: _configs) {
209
if (string_util::StartWith(path, config.Workspace)) {
210
- if (config.Workspace.size() > matchProcess) {
+ if (config.Workspace.size() >= matchProcess) {
211
matchProcess = config.Workspace.size();
212
editorConfig = config.Editorconfig;
213
}
0 commit comments