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.
This commit is contained in:
Donovan Glover 2024-04-30 05:40:18 -04:00
parent 765d6df369
commit 08b6b737b6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -94,6 +94,7 @@ in
defaultEditor = true; defaultEditor = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
nodePackages.vls
nodePackages.typescript-language-server nodePackages.typescript-language-server
nodePackages."@astrojs/language-server" nodePackages."@astrojs/language-server"
nodePackages."@prisma/language-server" nodePackages."@prisma/language-server"
@ -312,6 +313,7 @@ in
'crystalline', 'crystalline',
'prismals', 'prismals',
'jsonls', 'jsonls',
'vuels',
'sqlls', 'sqlls',
'emmet_language_server', 'emmet_language_server',
'astro', 'astro',
@ -494,7 +496,7 @@ in
highlight = { highlight = {
enable = true, enable = true,
disable = function(lang) 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 return true
end end
end, end,
@ -521,7 +523,6 @@ in
vim-prisma vim-prisma
vim-javascript vim-javascript
vim-jsx-pretty vim-jsx-pretty
vim-vue
csv-vim csv-vim
rust-vim rust-vim
yuck-vim yuck-vim