From 071d1033eda237bf6b2969b6262d1a3d014245f1 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Sun, 27 Sep 2026 20:03:45 -0500 Subject: [PATCH] feat(erlang): add ELP and Treesitter support LazyVim's erlang extra still enables erlangls, but erlang_ls was archived and nvim-lspconfig has dropped its config in favour of ELP (LazyVim/LazyVim#7249). Configure ELP, which Mason installs, and the erlang Treesitter parser directly. --- lua/plugins/erlang.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/plugins/erlang.lua diff --git a/lua/plugins/erlang.lua b/lua/plugins/erlang.lua new file mode 100644 index 0000000..3fde33a --- /dev/null +++ b/lua/plugins/erlang.lua @@ -0,0 +1,16 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = { ensure_installed = { "erlang" } }, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + -- LazyVim's erlang extra still enables erlangls, which is unmaintained + -- and gone from nvim-lspconfig. ELP replaces it. + elp = {}, + }, + }, + }, +}