summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
authorCppCXY <40318218+CppCXY@users.noreply.github.com>2022-09-28 20:16:46 +0800
committerGitHub <noreply@github.com>2022-09-28 20:16:46 +0800
commit4bb318f2e0d19e447ca43bc6a252ffb6ecd297d9 (patch)
tree571a7a43b1bd7f968500493ebc88a14f59cb3a6d /script/provider
parenta6f26e59987016a123cf72133b95d8ef6b4696af (diff)
parent353cbc100dfb6335009754ac79d4f0286c427e89 (diff)
downloadlua-language-server-4bb318f2e0d19e447ca43bc6a252ffb6ecd297d9.zip
Merge branch 'sumneko:master' into master
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/diagnostic.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index 22287698..58179514 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -460,6 +460,9 @@ end
---@async
function m.awaitDiagnosticsScope(suri, callback)
local scp = scope.getScope(suri)
+ if scp.type == 'fallback' then
+ return
+ end
while loading.count() > 0 do
await.sleep(1.0)
end