This PR extracts Elixir support into an extension and removes the built-in Elixir support from Zed. As part of this, [Lexical](https://github.com/lexical-lsp/lexical) has been added as an available language server for Elixir. Since the Elixir extension provides three different language servers, you'll need to use the `language_servers` setting to select the one you want to use: #### Elixir LS ```json { "languages": { "Elixir": { "language_servers": [ "elixir-ls", "!next-ls", "!lexical", "..."] } } } ``` #### Next LS ```json { "languages": { "Elixir": { "language_servers": [ "next-ls", "!elixir-ls", "!lexical", "..."] } } } ``` #### Lexical ```json { "languages": { "Elixir": { "language_servers": [ "lexical", "!elixir-ls", "!next-ls", "..."] } } } ``` These can either go in your user settings or your project settings. Release Notes: - Removed built-in support for Elixir, in favor of making it available as an extension.
29 lines
629 B
JSON
29 lines
629 B
JSON
// Taken from https://gist.github.com/josevalim/2e4f60a14ccd52728e3256571259d493#gistcomment-4995881
|
|
[
|
|
{
|
|
"label": "mix test",
|
|
"command": "mix",
|
|
"args": ["test"]
|
|
},
|
|
{
|
|
"label": "mix test --failed",
|
|
"command": "mix",
|
|
"args": ["test", "--failed"]
|
|
},
|
|
{
|
|
"label": "mix test $ZED_SYMBOL",
|
|
"command": "mix",
|
|
"args": ["test", "$ZED_SYMBOL"]
|
|
},
|
|
{
|
|
"label": "mix test $ZED_FILE:$ZED_ROW",
|
|
"command": "mix",
|
|
"args": ["test", "$ZED_FILE:$ZED_ROW"]
|
|
},
|
|
{
|
|
"label": "Elixir: break line",
|
|
"command": "iex",
|
|
"args": ["-S", "mix", "test", "-b", "$ZED_FILE:$ZED_ROW"]
|
|
}
|
|
]
|