mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
feat(lsp): deprecate execute_command with client:exec_cmd
This commit is contained in:
committed by
Lewis Russell
parent
39d79efa1e
commit
7a7747f1e4
@@ -48,7 +48,7 @@ local function execute_lens(lens, bufnr, client_id)
|
||||
|
||||
local client = vim.lsp.get_client_by_id(client_id)
|
||||
assert(client, 'Client is required to execute lens, client_id=' .. client_id)
|
||||
client:_exec_cmd(lens.command, { bufnr = bufnr }, function(...)
|
||||
client:exec_cmd(lens.command, { bufnr = bufnr }, function(...)
|
||||
vim.lsp.handlers[ms.workspace_executeCommand](...)
|
||||
M.refresh()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user