@@ -314,7 +314,11 @@ lsp.code_actions = function(opts)
|
|||||||
vim.notify(resolved_err.code .. ": " .. resolved_err.message, vim.log.levels.ERROR)
|
vim.notify(resolved_err.code .. ": " .. resolved_err.message, vim.log.levels.ERROR)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
execute_action(transform_action(resolved_action))
|
if resolved_action then
|
||||||
|
execute_action(transform_action(resolved_action))
|
||||||
|
else
|
||||||
|
execute_action(transform_action(action))
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
execute_action(transform_action(action))
|
execute_action(transform_action(action))
|
||||||
|
|||||||
Reference in New Issue
Block a user