diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-08 15:08:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-08 15:08:00 +0800 |
commit | 0af858e47af3cfc71bc3294f849108b5c00d0b11 (patch) | |
tree | 39d56fee462f6ac221096788968550f73813edc8 /server/src/core/document_symbol.lua | |
parent | bffb7b50e3c7cea0a0a2e08e3efee8acc83eb7bf (diff) | |
download | lua-language-server-0af858e47af3cfc71bc3294f849108b5c00d0b11.zip |
修正一些bug
Diffstat (limited to 'server/src/core/document_symbol.lua')
-rw-r--r-- | server/src/core/document_symbol.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/document_symbol.lua b/server/src/core/document_symbol.lua index e4b3c3b8..47389ec2 100644 --- a/server/src/core/document_symbol.lua +++ b/server/src/core/document_symbol.lua @@ -84,7 +84,7 @@ local function buildSet(source, callback) return end local kind - if value:getType() == 'function' then + if value:getFunction() then local func = value:getFunction() if func:getObject() then kind = SymbolKind.Field |