From 08b6b737b6156770205c96f47f574fcd3d8e25b9 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 30 Apr 2024 05:40:18 -0400 Subject: [PATCH] neovim: Replace vim-vue with treesitter + vuels Note that Vue tooling is seemingly subpar compared to React + TypeScript so despite learning Vue first (and Angular.js before that), I don't think I'd ever want to work with Vue again after getting familiar with functional programming and React. --- home/neovim.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 4aba8115..748b1fc7 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -94,6 +94,7 @@ in defaultEditor = true; extraPackages = with pkgs; [ + nodePackages.vls nodePackages.typescript-language-server nodePackages."@astrojs/language-server" nodePackages."@prisma/language-server" @@ -312,6 +313,7 @@ in 'crystalline', 'prismals', 'jsonls', + 'vuels', 'sqlls', 'emmet_language_server', 'astro', @@ -494,7 +496,7 @@ in highlight = { enable = true, disable = function(lang) - if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" and lang ~= "astro" and lang ~= "css" and lang ~= "glsl" and lang ~= "nix" then + if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" and lang ~= "astro" and lang ~= "css" and lang ~= "glsl" and lang ~= "nix" and lang ~= "vue" then return true end end, @@ -521,7 +523,6 @@ in vim-prisma vim-javascript vim-jsx-pretty - vim-vue csv-vim rust-vim yuck-vim