From c9a8662d1e6bbae1fafada2a3b19ed11e8931ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 28 Dec 2018 18:37:04 +0800 Subject: =?UTF-8?q?=E7=A5=9ETM=20Function=E5=92=8CMethod=E7=9A=84=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=98=AF=E4=B8=80=E6=A0=B7=E7=9A=84=EF=BC=8C=E5=8F=AA?= =?UTF-8?q?=E8=83=BD=E6=8D=A2=E4=B8=AA=E5=9B=BE=E6=A0=87=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/document_symbol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/core') diff --git a/server/src/core/document_symbol.lua b/server/src/core/document_symbol.lua index 3902f8a3..75035e92 100644 --- a/server/src/core/document_symbol.lua +++ b/server/src/core/document_symbol.lua @@ -58,7 +58,7 @@ local function buildFunction(vm, func) range = { math.min(source.start, declarat.start), source.finish } selectionRange = { declarat.start, declarat.finish } if var.parent and var.parent.value and not var.parent.value.ENV then - kind = SymbolKind.Method + kind = SymbolKind.Field end else range = { source.start, source.finish } -- cgit v1.2.3