Open
Description
For reference: https://microsoft.github.io/language-server-protocol/specifications/specification-3-15/#workspace_configuration
The configuration section ask for is defined by the server and doesn’t necessarily need to correspond to the configuration store used be the client.
This makes it impossible for the client to implement workspace/configuration
in a generic way. It absolutely requires server-specific knowledge, which turns the "LSP is the solution to the matrix problem" mantra on its head. More specifically:
Rust-analyzer
section
isrust-analyzer
- Client is supposed to return
server_settings[ 'rust-analyzer' ]
Gopls
section
isgopls
- Client is supposed to return
server_settings
Lua-language-server
section
s areLua
,files.associations
andfiles.exclude
- Client is supposed to return
server_settings
, and no clue what for the other two
Since a generic implementation is impossible, can we define what section
actually means?