diff options
Diffstat (limited to 'script/provider/diagnostic.lua')
-rw-r--r-- | script/provider/diagnostic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index 883ae68c..4a207115 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -190,7 +190,7 @@ function m.doDiagnostic(uri) await.delay() - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then m.clear(uri) return |