summaryrefslogtreecommitdiff
path: root/script/provider/diagnostic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/diagnostic.lua')
-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