From 4cc439f4028b689380098a92422b49b0c6d3d9b0 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 1 Mar 2025 21:13:29 -0800 Subject: [PATCH] feat: add purescript --- 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 1dd6f8e..883dbfb 100644 --- a/flake.nix +++ b/flake.nix @@ -132,6 +132,7 @@ nu tsx elm + purescript ]) )) # 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 47dfbae..4524d19 100644 --- a/fnl/lsp/init.fnl +++ b/fnl/lsp/init.fnl @@ -21,5 +21,6 @@ :rst :typst]}) (lspconfig.fennel_ls.setup {}) - (lspconfig.elmls.setup {})) + (lspconfig.elmls.setup {}) + (lspconfig.purescriptls.setup {})) {})} diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index bfd5cd3..b315af7 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -19,6 +19,7 @@ local function _1_() lspconfig.vale_ls.setup({filetypes = {"markdown", "text", "tex", "rst", "typst"}}) lspconfig.fennel_ls.setup({}) lspconfig.elmls.setup({}) + lspconfig.purescriptls.setup({}) end return {} end