mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(lsp): pass the enriched ctx to the client-side command (#16201)
This commit is contained in:
@@ -484,7 +484,7 @@ local function on_code_action_results(results, ctx)
|
|||||||
if fn then
|
if fn then
|
||||||
local enriched_ctx = vim.deepcopy(ctx)
|
local enriched_ctx = vim.deepcopy(ctx)
|
||||||
enriched_ctx.client_id = client.id
|
enriched_ctx.client_id = client.id
|
||||||
fn(command, ctx)
|
fn(command, enriched_ctx)
|
||||||
else
|
else
|
||||||
M.execute_command(command)
|
M.execute_command(command)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user