From be31afe249479dabcbb042f7e40dacc96c9fb94e Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 1 Dec 2024 17:41:50 -0300 Subject: [PATCH] feat(neovim): add denols conditionally The typescript-all-in-one does the conditioning for us --- modules/home-manager/programs/neovim/lsp.nix | 3 ++- modules/home-manager/programs/neovim/lua/community.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/programs/neovim/lsp.nix b/modules/home-manager/programs/neovim/lsp.nix index 0debfd6..448958d 100644 --- a/modules/home-manager/programs/neovim/lsp.nix +++ b/modules/home-manager/programs/neovim/lsp.nix @@ -62,6 +62,7 @@ in "cmake", "csharp_ls", "cssls", + "denols", "eslint", "html", "jsonls", @@ -71,8 +72,8 @@ in "rust_analyzer", "svelte", "taplo", - "vtsls", "volar", + "vtsls", "yamlls", }, -- customize language server configuration options passed to `lspconfig` diff --git a/modules/home-manager/programs/neovim/lua/community.lua b/modules/home-manager/programs/neovim/lua/community.lua index b293300..d816924 100644 --- a/modules/home-manager/programs/neovim/lua/community.lua +++ b/modules/home-manager/programs/neovim/lua/community.lua @@ -26,7 +26,7 @@ return { { import = "astrocommunity.pack.nix" }, { import = "astrocommunity.pack.rust" }, { import = "astrocommunity.pack.toml" }, - { import = "astrocommunity.pack.typescript" }, + { import = "astrocommunity.pack.typescript-all-in-one" }, { import = "astrocommunity.pack.vue" }, { import = "astrocommunity.pack.yaml" }, }