From f71265ecfa87b960972ac08902b3eb417d926b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 28 Sep 2022 19:23:31 +0800 Subject: don't do workspace for fallback --- script/provider/diagnostic.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/provider/diagnostic.lua') 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 -- cgit v1.2.3