diff --git a/home-manager/neovim.nix b/home-manager/neovim.nix index 4b97f05..8abd153 100644 --- a/home-manager/neovim.nix +++ b/home-manager/neovim.nix @@ -23,7 +23,6 @@ }) lspcfg.ltex.setup({ cmd = { '${pkgs.ltex-ls}/bin/ltex-ls' }, - filetypes = { 'bib', 'gitcommit', 'markdown', 'plaintext', 'tex', 'pandoc', 'typst' }, settings = { ltex = { language = 'auto' @@ -35,6 +34,23 @@ }) lspcfg.ocamllsp.setup({}) lspcfg.purescriptls.setup({}) + lspcfg.volar.setup({}) + lspcfg.tsserver.setup({ + init_options = { + plugins = { + { + name = "@vue/typescript-plugin", + location = "node_modules/@vue/typescript-plugin", + languages = {"javascript", "typescript", "vue"}, + }, + }, + }, + filetypes = { + "javascript", + "typescript", + "vue", + }, + }) require('orgmode').setup({}) require('lean').setup({ mappings = true,