zed/crates/languages/src
Richard Taylor 5181d3f719
Workspace configuration for elixir-ls LSP (#9330)
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).
2024-03-25 09:35:28 +01:00
..
astro Allow extensions to define more of the methods in the LspAdapter trait (#9554) 2024-03-20 12:47:04 -07:00
bash chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
c chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
clojure Add .cljc, .edn, & .bb to Clojure filename extensions (#8285) 2024-02-23 23:46:27 +02:00
cpp chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
csharp chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
css Add outlines for CSS (#8706) 2024-03-14 20:31:52 -04:00
dart chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
dockerfile chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
elixir Add Elixir symbols in outline view (#8761) 2024-03-07 19:35:01 -07:00
elm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
erb chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
erlang chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
glsl chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
go chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
gomod chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
gowork chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
haskell chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
hcl chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
heex chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
html Fix <!DOCTYPE html> syntax highlighting (#9108) 2024-03-11 09:56:35 +02:00
javascript Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
jsdoc Add JSDoc syntax highlighting support (#7826) 2024-03-15 15:17:06 -06:00
json Improve TS and JSON syntax highlighting (#9302) 2024-03-14 20:58:17 -06:00
lua Update Lua config.toml (#9260) 2024-03-13 00:32:45 -04:00
markdown chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
nix chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
nu chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
ocaml ocaml: Small query improvements and fix autoclose brackets (#7769) 2024-02-24 19:06:25 -05:00
ocaml-interface ocaml: Small query improvements and fix autoclose brackets (#7769) 2024-02-24 19:06:25 -05:00
php Allow extensions to define more of the methods in the LspAdapter trait (#9554) 2024-03-20 12:47:04 -07:00
prisma chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
proto chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
purescript chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
python chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
racket chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
regex Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
ruby Improve Ruby language to recognize Guardfiles (#9530) 2024-03-19 10:44:32 -04:00
rust chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
scheme chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
terraform chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
terraform-vars chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
toml chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
tsx Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
typescript Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
vue chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
yaml chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
zig Zig outline view (#8122) 2024-02-29 17:24:35 -08:00
astro.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
c.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
clojure.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
csharp.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
css.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
dart.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
deno.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
dockerfile.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
elixir.rs Workspace configuration for elixir-ls LSP (#9330) 2024-03-25 09:35:28 +01:00
elm.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
erlang.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
go.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
haskell.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
html.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
json.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
lib.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
lua.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
nu.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
ocaml.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
php.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
prisma.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
purescript.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
python.rs Implement updating for node-based language servers (#9361) 2024-03-15 11:40:28 -04:00
ruby.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
rust.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
tailwind.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
terraform.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
toml.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
typescript.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
uiua.rs Add ability to specify binary path/args for rust-analyzer (#9293) 2024-03-13 18:42:03 +01:00
vue.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
yaml.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
zig.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00