From bdfd35eb3ab008b67b76197aac875590915edd81 Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Wed, 9 Nov 2022 15:35:58 +0100 Subject: [PATCH 1/3] Enable elixir-ls for heex language --- languages.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/languages.toml b/languages.toml index 41558e10e9ad..d8e584cf5269 100644 --- a/languages.toml +++ b/languages.toml @@ -1355,6 +1355,7 @@ injection-regex = "heex" file-types = ["heex"] roots = ["mix.exs", "mix.lock"] indent = { tab-width = 2, unit = " " } +language-server = { command = "elixir-ls" } [[grammar]] name = "heex" From 1ab6841e9a496b43271cba9975f48a240c4115e8 Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Wed, 9 Nov 2022 20:33:37 +0100 Subject: [PATCH 2/3] Disable dialyzer to match behaviour of elixir --- languages.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/languages.toml b/languages.toml index d8e584cf5269..35a575640b54 100644 --- a/languages.toml +++ b/languages.toml @@ -1356,6 +1356,7 @@ file-types = ["heex"] roots = ["mix.exs", "mix.lock"] indent = { tab-width = 2, unit = " " } language-server = { command = "elixir-ls" } +config = { elixirLS.dialyzerEnabled = false } [[grammar]] name = "heex" From caa7410e4168ec774843f1b00bdd8d770bd76adb Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Thu, 10 Nov 2022 10:21:54 +0100 Subject: [PATCH 3/3] Update documentation --- book/src/generated/lang-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 411e67b8a974..086cd3c68f43 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -50,7 +50,7 @@ | hare | ✓ | | | | | haskell | ✓ | | | `haskell-language-server-wrapper` | | hcl | ✓ | | ✓ | `terraform-ls` | -| heex | ✓ | ✓ | | | +| heex | ✓ | ✓ | | `elixir-ls` | | html | ✓ | | | `vscode-html-language-server` | | idris | | | | `idris2-lsp` | | iex | ✓ | | | |