mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
5181d3f719
This allows the workspace configuration settings to be passed to the elixir-ls LSP via lsp settings. This following example settings disable dialyzer in the LSP: ``` "lsp": { "elixir-ls": { "settings": { "dialyzerEnabled": false } } } ``` It follows the same pattern used in [#8568](https://github.com/zed-industries/zed/pull/8568) and resolves [#4260](https://github.com/zed-industries/zed/issues/4260). Zed's language server logs show the settings are being sent to the language server: ``` Received client configuration via workspace/configuration %{"dialyzerEnabled" => false} Registering for workspace/didChangeConfiguration notifications Starting build with MIX_ENV: test MIX_TARGET: host client/registerCapability succeeded Registering for workspace/didChangeWatchedFiles notifications client/registerCapability succeeded Received workspace/didChangeConfiguration Received client configuration via workspace/didChangeConfiguration %{"dialyzerEnabled" => false} ``` Release Notes: - Added workspace configuration settings support for elixir-ls language server. Those can now be configured by setting `{"lsp": {"elixir-ls": { "settings: { "your-settings-here": "here"} } }` in Zed settings. [#4260](https://github.com/zed-industries/zed/issues/4260). |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
book.toml | ||
how-to-deploy.md |