summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-21 17:29:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-21 17:29:08 +0800
commitbe7c23d72d2a9f0a51ab3c63abe46a4fac6f3602 (patch)
treec9102b894d195e4400f93aa96b1af03e131f3ea2
parent310cfe965d56d0b157e2cfd0cb43900454f958b2 (diff)
downloadlua-language-server-be7c23d72d2a9f0a51ab3c63abe46a4fac6f3602.zip
工作区符号也支持空字符串
-rw-r--r--script/method/workspace/symbol.lua3
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