diff options
Diffstat (limited to 'script/core/hint.lua')
-rw-r--r-- | script/core/hint.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua index f4ccad44..2c449ae6 100644 --- a/script/core/hint.lua +++ b/script/core/hint.lua @@ -5,7 +5,7 @@ local config = require 'config' local guide = require 'parser.guide' local function typeHint(uri, edits, start, finish) - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end @@ -96,7 +96,7 @@ local function paramName(uri, edits, start, finish) if not config.config.hint.paramName then return end - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end |