diff --git a/lua/fzf-lua/providers/lsp.lua b/lua/fzf-lua/providers/lsp.lua index ef15675..7d3763d 100644 --- a/lua/fzf-lua/providers/lsp.lua +++ b/lua/fzf-lua/providers/lsp.lua @@ -213,7 +213,11 @@ M.document_symbols = function(opts) end M.workspace_symbols = function(opts) - return fzf_lsp_locations(opts) + opts = normalize_lsp_opts(opts, config.lsp) + opts.lsp_params = {query = ''} + opts = set_fzf_files_args(opts) + opts = set_lsp_fzf_fn(opts) + return core.fzf_files(opts) end M.code_actions = function(opts) diff --git a/lua/fzf-lua/utils.lua b/lua/fzf-lua/utils.lua index 4e469c2..e403311 100644 --- a/lua/fzf-lua/utils.lua +++ b/lua/fzf-lua/utils.lua @@ -184,7 +184,6 @@ function M.get_visual_selection() if n <= 0 then return '' end lines[n] = string.sub(lines[n], 1, cecol) lines[1] = string.sub(lines[1], cscol) - print(n, csrow, cscol, cerow, cecol, table.concat(lines, "\n")) return table.concat(lines, "\n") end