mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 17:54:14 +00:00
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).
|
||
|---|---|---|
| .. | ||
| languages | ||
| CODE_OF_CONDUCT.md | ||
| configuring_zed.md | ||
| configuring_zed__configuring_vim.md | ||
| configuring_zed__key_bindings.md | ||
| developing_zed__adding_languages.md | ||
| developing_zed__building_zed.md | ||
| developing_zed__building_zed_linux.md | ||
| developing_zed__building_zed_macos.md | ||
| developing_zed__building_zed_windows.md | ||
| developing_zed__debugging_crashes.md | ||
| developing_zed__local_collaboration.md | ||
| feedback.md | ||
| getting_started.md | ||
| SUMMARY.md | ||
| system_requirements.md | ||
| tasks.md | ||
| telemetry.md | ||