diff --git a/flake.nix b/flake.nix index a1e1f81..740ca5d 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,7 @@ nixd # nix language server tinymist # Typst marksman # markdown + vale-ls # prose # formatters nixfmt-rfc-style # recommended nix formatter diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index 1cb763c..80d45e6 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -69,6 +69,9 @@ M.setup = function() lspconfig.clangd.setup({}) lspconfig.mesonlsp.setup({}) lspconfig.nushell.setup({}) + lspconfig.vale_ls.setup({ + filetypes = { "markdown", "text", "tex", "rst", "typst" }, + }) end return M