workspace_symbols bugfix with new sumneko_lua

main
bhagwan 3 years ago
parent 4ec3f7716c
commit 08430c0325

@ -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)

@ -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

Loading…
Cancel
Save