summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-12 13:05:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-12 13:05:06 +0800
commit3d87b642905c12392df3e36f908973831c40454f (patch)
tree21be948230a8afc3ff39a3b1dce9abd357d080e8 /server/src
parentf1c1debb06035e2b9c11cb0a8486d14561bfc066 (diff)
downloadlua-language-server-3d87b642905c12392df3e36f908973831c40454f.zip
文件符号先不显示set
Diffstat (limited to 'server/src')
-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 18af9ceb..fdd34360 100644
--- a/server/src/core/document_symbol.lua
+++ b/server/src/core/document_symbol.lua
@@ -98,7 +98,7 @@ local function buildSet(vm, source, callback)
elseif source:get 'table index' then
kind = SymbolKind.Class
else
- kind = SymbolKind.Object
+ return
end
local valueSource = value.source
if valueSource.start == 0 or value.uri ~= vm.uri then