Skip to content

Commit f71265e

Browse files
committed
don't do workspace for fallback
1 parent b01133e commit f71265e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

script/provider/diagnostic.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ end
460460
---@async
461461
function m.awaitDiagnosticsScope(suri, callback)
462462
local scp = scope.getScope(suri)
463+
if scp.type == 'fallback' then
464+
return
465+
end
463466
while loading.count() > 0 do
464467
await.sleep(1.0)
465468
end

0 commit comments

Comments
 (0)