summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-02 19:29:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-02 19:29:35 +0800
commit0fc72b8bb723f8fb38002dd4d10f8ef86c2c7dfd (patch)
treeb3ad27c708999c27dcff3fc3c5b12f778563acf7 /script/provider/provider.lua
parent02dd5b6557d3e70859bc3ddb234f8924b0166221 (diff)
downloadlua-language-server-0fc72b8bb723f8fb38002dd4d10f8ef86c2c7dfd.zip
cleanup
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 9fede5cc..33dba27a 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -954,7 +954,7 @@ m.register 'workspace/symbol' {
local _ <close> = progress.create(workspace.getFirstScope().uri, lang.script.WINDOW_PROCESSING_WS_SYMBOL, 0.5)
local core = require 'core.workspace-symbol'
- local symbols = core(params.query, true)
+ local symbols = core(params.query, nil, true)
if not symbols or #symbols == 0 then
return nil
end