summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-13 11:18:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-13 11:18:59 +0800
commit848480d1bdf108baae63056a1ab9b5344344df02 (patch)
treebd9596752c9953ace0786c1be6eecc294402a184 /script-beta
parent95da0c25dedd847582222edd34d8c00631ae03bb (diff)
downloadlua-language-server-848480d1bdf108baae63056a1ab9b5344344df02.zip
修正诊断结果残留的问题
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/provider/diagnostic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/provider/diagnostic.lua b/script-beta/provider/diagnostic.lua
index 64d83c89..e534bd74 100644
--- a/script-beta/provider/diagnostic.lua
+++ b/script-beta/provider/diagnostic.lua
@@ -149,6 +149,7 @@ function m.diagnostics(uri)
end
function m.doDiagnostic(uri)
+ uri = uri:lower()
if files.isLibrary(uri) then
return
end