neovim: Use treesitter for astro/css over astro-vim

Improves syntax highlighting.
This commit is contained in:
Donovan Glover 2024-02-28 07:32:49 -05:00
parent 140a71e7d6
commit 98a2ccf147
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -572,7 +572,7 @@ in
highlight = { highlight = {
enable = true, enable = true,
disable = function(lang) disable = function(lang)
if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" then if lang ~= "javascript" and lang ~= "tsx" and lang ~= "typescript" and lang ~= "astro" and lang ~= "css" then
return true return true
end end
end, end,
@ -600,7 +600,6 @@ in
vim-crystal vim-crystal
vim-nix-rummik vim-nix-rummik
fcitx-vim fcitx-vim
vim-astro
vim-svelte vim-svelte
typst-vim typst-vim
emmet-vim emmet-vim