summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/diagnostic.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index 845b9f44..75507f72 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -108,7 +108,7 @@ local function merge(a, b)
end
function m.clear(uri)
- local luri = uri:lower()
+ local luri = files.asKey(uri)
if not m.cache[luri] then
return
end
@@ -158,7 +158,7 @@ function m.doDiagnostic(uri)
if not config.config.diagnostics.enable then
return
end
- uri = uri:lower()
+ uri = files.asKey(uri)
if files.isLibrary(uri) then
return
end