mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +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
|
||||
local enriched_ctx = vim.deepcopy(ctx)
|
||||
enriched_ctx.client_id = client.id
|
||||
fn(command, ctx)
|
||||
fn(command, enriched_ctx)
|
||||
else
|
||||
M.execute_command(command)
|
||||
end
|
||||
|
Reference in New Issue
Block a user