From 84fe2d3a626d01eddcc037699c8fddbcb00090df Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 16 Feb 2025 19:05:27 -0800 Subject: [PATCH] feat: add elm tree sitter grammar and elmls configuration --- flake.nix | 1 + fnl/lsp/init.fnl | 3 ++- lua/lsp/init.lua | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 32ee818..1dd6f8e 100644 --- a/flake.nix +++ b/flake.nix @@ -131,6 +131,7 @@ meson nu tsx + elm ]) )) # for some reason trigger_load still fails to load this in the diff --git a/fnl/lsp/init.fnl b/fnl/lsp/init.fnl index e7f2906..47dfbae 100644 --- a/fnl/lsp/init.fnl +++ b/fnl/lsp/init.fnl @@ -20,5 +20,6 @@ :tex :rst :typst]}) - (lspconfig.fennel_ls.setup {})) + (lspconfig.fennel_ls.setup {}) + (lspconfig.elmls.setup {})) {})} diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index 7fcb9a7..bfd5cd3 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -18,6 +18,7 @@ local function _1_() lspconfig.nushell.setup({}) lspconfig.vale_ls.setup({filetypes = {"markdown", "text", "tex", "rst", "typst"}}) lspconfig.fennel_ls.setup({}) + lspconfig.elmls.setup({}) end return {} end