Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lsp: Add workspace/applyEdit to client capabilites #3012

Merged

Conversation

sudormrfbin
Copy link
Member

The functionality already existed, but the capability wasn't being reported correctly to the server:

MethodCall::ApplyWorkspaceEdit(params) => {
apply_workspace_edit(
&mut self.editor,
helix_lsp::OffsetEncoding::Utf8,
&params.edit,
);
Ok(json!(lsp::ApplyWorkspaceEditResponse {
applied: true,
failure_reason: None,
failed_change: None,
}))
}

@archseer archseer merged commit 21b66ba into helix-editor:master Jul 8, 2022
@sudormrfbin sudormrfbin deleted the workspace-edit-capability branch July 8, 2022 23:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants