summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/provider/diagnostic.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index 88fbbc4e..b385b4e3 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -183,8 +183,7 @@ function m.doDiagnostic(uri)
return
end
uri = files.asKey(uri)
- if (files.isLibrary(uri) or ws.isIgnored(uri))
- and not files.isOpen(uri) then
+ if files.isLibrary(uri) or ws.isIgnored(uri) then
return
end