summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/method/workspace/symbol.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/method/workspace/symbol.lua b/script/method/workspace/symbol.lua
index dc901ec2..71ae658a 100644
--- a/script/method/workspace/symbol.lua
+++ b/script/method/workspace/symbol.lua
@@ -47,7 +47,8 @@ local function convertRange(lines, range)
end
local function collect(results, source, uri, lines)
- if source:action() ~= 'set' then
+ if source:action() ~= 'set'
+ and source:action() ~= 'local' then
return
end
local kind = SymbolKind.Variable