From 14b926997c5b581e554d40f605f9c2219410a2cc Mon Sep 17 00:00:00 2001 From: offsetcyan Date: Thu, 15 Aug 2024 19:11:28 +0100 Subject: [PATCH 1/2] Add ELP LSP to Erlang --- languages.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/languages.toml b/languages.toml index 12b0ad049c04..c35254d492ba 100644 --- a/languages.toml +++ b/languages.toml @@ -32,6 +32,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"] } @@ -1792,7 +1793,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" @@ -3785,4 +3786,4 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "thrift" -source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-thrift" , rev = "68fd0d80943a828d9e6f49c58a74be1e9ca142cf" } \ No newline at end of file +source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-thrift" , rev = "68fd0d80943a828d9e6f49c58a74be1e9ca142cf" } From 662a802225c193edf786e30c3994eed66e2901f0 Mon Sep 17 00:00:00 2001 From: offset---cyan Date: Thu, 15 Aug 2024 19:53:44 +0100 Subject: [PATCH 2/2] generate docs --- 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 4ce9edb9d444..de8989c8aa50 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -48,7 +48,7 @@ | elvish | ✓ | | | `elvish` | | env | ✓ | | | | | erb | ✓ | | | | -| erlang | ✓ | ✓ | | `erlang_ls` | +| erlang | ✓ | ✓ | | `erlang_ls`, `elp` | | esdl | ✓ | | | | | fidl | ✓ | | | | | fish | ✓ | ✓ | ✓ | |