Skip to content

Commit

Permalink
lsp: Add workspace/applyEdit to client capabilites (#3012)
Browse files Browse the repository at this point in the history
The functionality already existed, but the capability wasn't being
reported correctly to the server:

https://github.com/helix-editor/helix/blob/230ba264bf78d9b4ecd42440f0cbb20529f9c235/helix-term/src/application.rs#L716-L728
  • Loading branch information
sudormrfbin authored Jul 8, 2022
1 parent b7a3531 commit 21b66ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-lsp/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ impl Client {
dynamic_registration: Some(false),
}),
workspace_folders: Some(true),
apply_edit: Some(true),
..Default::default()
}),
text_document: Some(lsp::TextDocumentClientCapabilities {
Expand Down

0 comments on commit 21b66ba

Please sign in to comment.