summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/lowercase-global.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/lowercase-global.lua')
-rw-r--r--script/core/diagnostics/lowercase-global.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/lowercase-global.lua b/script/core/diagnostics/lowercase-global.lua
index bd301c7f..d7032c13 100644
--- a/script/core/diagnostics/lowercase-global.lua
+++ b/script/core/diagnostics/lowercase-global.lua
@@ -24,7 +24,7 @@ return function (uri, callback)
end
local definedGlobal = {}
- for name in pairs(config.get(nil, 'Lua.diagnostics.globals')) do
+ for name in pairs(config.get(uri, 'Lua.diagnostics.globals')) do
definedGlobal[name] = true
end