diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-05 20:16:08 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-05 20:16:08 +0800 |
commit | d64ec162e683c42befb2d32ae31b024e4d4a5510 (patch) | |
tree | 3960606296ef262fc9d5eaee49c10e6bb2c541ec /server/src/core | |
parent | 6b95bb52f39082e9df605a954cb6a16d75b9611c (diff) | |
download | lua-language-server-d64ec162e683c42befb2d32ae31b024e4d4a5510.zip |
修改未完成function在文件符号中的表现
Diffstat (limited to 'server/src/core')
-rw-r--r-- | server/src/core/document_symbol.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/server/src/core/document_symbol.lua b/server/src/core/document_symbol.lua index 3c349246..48e01332 100644 --- a/server/src/core/document_symbol.lua +++ b/server/src/core/document_symbol.lua @@ -141,9 +141,6 @@ local function buildLocalFunction(vm, source, used, callback) return end local name = getName(source.name) - if name == '' then - return - end local hvr = hoverFunction(name, value:getFunction()) if not hvr then return @@ -169,9 +166,6 @@ local function buildFunction(vm, source, used, callback) return end local name = getName(source.name) - if name == '' then - return - end local func = value:getFunction() if not func then return |