break: remove lsp code actions (#1866)

see :help telescope.changelog-1866 for more information
This commit is contained in:
Simon Hauser
2022-04-25 22:52:00 +02:00
committed by GitHub
parent 5045d7e5e7
commit e7e90466de
8 changed files with 28 additions and 263 deletions

View File

@@ -223,19 +223,16 @@ function command.register_keyword(keyword)
split_keywords[keyword] = true
end
function command.load_command(start_line, end_line, count, cmd, ...)
function command.load_command(cmd, ...)
local args = { ... }
if cmd == nil then
run_command { cmd = "builtin" }
return
end
local user_opts = {}
user_opts["cmd"] = cmd
user_opts.opts = {
start_line = start_line,
end_line = end_line,
count = count,
local user_opts = {
cmd = cmd,
opts = {},
}
for _, arg in ipairs(args) do