From d9143e2904b02b621f646268442a2a18307783b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 21 Jul 2020 17:35:28 +0800 Subject: =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8C=BA=E7=AC=A6=E5=8F=B7=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20local?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/method/workspace/symbol.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/method') 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 -- cgit v1.2.3