diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-19 11:08:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-19 11:08:53 +0800 |
commit | b23a9a5f34874916ea402e6141f426f00294a334 (patch) | |
tree | 61a70ac5ecd3035da7fbbbd8c3c7f16ac5d31df4 /server/src/core | |
parent | b44d1495ae952dab235b9a79cabbeb56be30da8f (diff) | |
download | lua-language-server-b23a9a5f34874916ea402e6141f426f00294a334.zip |
修正一些bug
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 39257ba3..ac81277c 100644 --- a/server/src/core/document_symbol.lua +++ b/server/src/core/document_symbol.lua @@ -228,9 +228,6 @@ local function packChild(symbols, finish, kind) t = {} end t[#t+1] = symbol - if coroutine.isyieldable() then - coroutine.yield() - end end return t end @@ -252,9 +249,6 @@ return function (vm) buildSource(vm, source, used, function (data) symbols[#symbols+1] = data end) - if coroutine.isyieldable() then - coroutine.yield() - end end local packedSymbols = packSymbols(symbols) |