We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ca72d commit 87581beCopy full SHA for 87581be
changelog.md
@@ -2,6 +2,7 @@
2
3
## Unreleased
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
+* `FIX` Don't do diagnostics when the workspace is not ready
6
* `NEW` Reference workspace symbols in comments using `[some text](lua://symbolName)` syntax
7
8
## 3.9.0
script/provider/diagnostic.lua
@@ -246,6 +246,9 @@ local function isValid(uri)
246
if not config.get(uri, 'Lua.diagnostics.enable') then
247
return false
248
end
249
+ if not ws.isReady(uri) then
250
+ return false
251
+ end
252
if files.isLibrary(uri, true) then
253
local status = config.get(uri, 'Lua.diagnostics.libraryFiles')
254
if status == 'Disable' then
0 commit comments