📎 Remove dynamic registration for formatting from the LSP #1042
Labels
A-LSP
Area: language server protocol
S-Enhancement
Status: Improve an existing feature
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Description
At the moment, the formatting capabilities of the LSP are registered using dynamic capabilities:
biome/crates/biome_lsp/src/server.rs
Lines 159 to 189 in 6739a51
This was done by leveraging the "update configuration and enable/disable" formatting, although this isn't needed because the workspace takes care of it. Plus, some LSP services out there don't support dynamic capabilities (or they do in a limited way).
We should remove the dynamic registration for formatting.
The text was updated successfully, but these errors were encountered: