mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Fix resolveCodeAction request
This commit is contained in:
parent
3d13939260
commit
513d25cf03
1 changed files with 2 additions and 2 deletions
|
@ -442,8 +442,8 @@ export function openDocs(ctx: Ctx): Cmd {
|
|||
|
||||
export function resolveCodeAction(ctx: Ctx): Cmd {
|
||||
const client = ctx.client;
|
||||
return async () => {
|
||||
const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null);
|
||||
return async (params: ra.ResolveCodeActionParams) => {
|
||||
const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params);
|
||||
if (!item) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue