summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/code-after-break.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/code-after-break.lua')
-rw-r--r--script/core/diagnostics/code-after-break.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/code-after-break.lua b/script/core/diagnostics/code-after-break.lua
index f300a61a..21f7e83a 100644
--- a/script/core/diagnostics/code-after-break.lua
+++ b/script/core/diagnostics/code-after-break.lua
@@ -4,7 +4,7 @@ local lang = require 'language'
local define = require 'proto.define'
return function (uri, callback)
- local state = files.getAst(uri)
+ local state = files.getState(uri)
if not state then
return
end