summaryrefslogtreecommitdiff
path: root/server/src/core/document_symbol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/document_symbol.lua')
-rw-r--r--server/src/core/document_symbol.lua2
1 files changed, 1 insertions, 1 deletions
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 }