summaryrefslogtreecommitdiff
path: root/script/core/workspace-symbol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/workspace-symbol.lua')
-rw-r--r--script/core/workspace-symbol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/workspace-symbol.lua b/script/core/workspace-symbol.lua
index 6301cc39..18ab1eeb 100644
--- a/script/core/workspace-symbol.lua
+++ b/script/core/workspace-symbol.lua
@@ -47,7 +47,7 @@ local function buildSource(uri, source, key, results)
end
local function searchFile(uri, key, results)
- local ast = files.getAst(uri)
+ local ast = files.getState(uri)
if not ast then
return
end