From e5dd60f794d055a01bee284ef923564936ebbe90 Mon Sep 17 00:00:00 2001 From: offsetcyan Date: Mon, 30 Sep 2024 03:06:45 +0100 Subject: [PATCH] Add Erlang Language Platform (ELP) support to Erlang (#11499) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add ELP LSP to Erlang * generate docs --------- Co-authored-by: Blaž Hrastnik --- book/src/generated/lang-support.md | 2 +- languages.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index f035b5ec5cad..79f3a69647a3 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -49,7 +49,7 @@ | elvish | ✓ | | | `elvish` | | env | ✓ | ✓ | | | | erb | ✓ | | | | -| erlang | ✓ | ✓ | | `erlang_ls` | +| erlang | ✓ | ✓ | | `erlang_ls`, `elp` | | esdl | ✓ | | | | | fidl | ✓ | | | | | fish | ✓ | ✓ | ✓ | | diff --git a/languages.toml b/languages.toml index d6591fb282d2..806aa815e618 100644 --- a/languages.toml +++ b/languages.toml @@ -33,6 +33,7 @@ dot-language-server = { command = "dot-language-server", args = ["--stdio"] } earthlyls = { command = "earthlyls" } elixir-ls = { command = "elixir-ls", config = { elixirLS.dialyzerEnabled = false } } elm-language-server = { command = "elm-language-server" } +elp = { command = "elp", args = ["server"] } elvish = { command = "elvish", args = ["-lsp"] } erlang-ls = { command = "erlang_ls" } forc = { command = "forc", args = ["lsp"] } @@ -1800,7 +1801,7 @@ roots = ["rebar.config"] shebangs = ["escript"] comment-token = "%%" indent = { tab-width = 4, unit = " " } -language-servers = [ "erlang-ls" ] +language-servers = [ "erlang-ls", "elp" ] [[grammar]] name = "erlang" @@ -3808,4 +3809,4 @@ language-servers = ["circom-lsp"] [[grammar]] name = "circom" -source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "02150524228b1e6afef96949f2d6b7cc0aaf999e" } \ No newline at end of file +source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "02150524228b1e6afef96949f2d6b7cc0aaf999e" }