diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-07-21 17:29:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-07-21 17:29:08 +0800 |
commit | be7c23d72d2a9f0a51ab3c63abe46a4fac6f3602 (patch) | |
tree | c9102b894d195e4400f93aa96b1af03e131f3ea2 | |
parent | 310cfe965d56d0b157e2cfd0cb43900454f958b2 (diff) | |
download | lua-language-server-be7c23d72d2a9f0a51ab3c63abe46a4fac6f3602.zip |
工作区符号也支持空字符串
-rw-r--r-- | script/method/workspace/symbol.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/method/workspace/symbol.lua b/script/method/workspace/symbol.lua index 11e15296..dc901ec2 100644 --- a/script/method/workspace/symbol.lua +++ b/script/method/workspace/symbol.lua @@ -92,9 +92,6 @@ end --- @param params table return function (lsp, params) local query = params.query - if #query <= 0 then - return {} - end local results = {} for uri in lsp:eachFile() do |