summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/undefined-doc-class.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/undefined-doc-class.lua')
-rw-r--r--script/core/diagnostics/undefined-doc-class.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/undefined-doc-class.lua b/script/core/diagnostics/undefined-doc-class.lua
index d79f7ea4..e7133ab9 100644
--- a/script/core/diagnostics/undefined-doc-class.lua
+++ b/script/core/diagnostics/undefined-doc-class.lua
@@ -5,7 +5,7 @@ local define = require 'proto.define'
local vm = require 'vm'
return function (uri, callback)
- local state = files.getAst(uri)
+ local state = files.getState(uri)
if not state then
return
end