summaryrefslogtreecommitdiff
path: root/script/core/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hover/init.lua')
-rw-r--r--script/core/hover/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/init.lua b/script/core/hover/init.lua
index 5dd00c43..41616bc9 100644
--- a/script/core/hover/init.lua
+++ b/script/core/hover/init.lua
@@ -147,7 +147,7 @@ local accept = {
}
local function getHoverByUri(uri, offset)
- local ast = files.getAst(uri)
+ local ast = files.getState(uri)
if not ast then
return nil
end