mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-26 04:08:22 +02:00
neovim: Replace vim-pug with treesitter
I don't use pug anymore so using treesitter is easier than having to worry about a separate plugin.
This commit is contained in:
parent
08b6b737b6
commit
ca4311fbd9
@ -496,7 +496,16 @@ 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" and lang ~= "vue" 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"
|
||||||
|
and lang ~= "pug"
|
||||||
|
then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
@ -519,7 +528,6 @@ in
|
|||||||
fzf-vim
|
fzf-vim
|
||||||
vim-caddyfile
|
vim-caddyfile
|
||||||
vim-graphql
|
vim-graphql
|
||||||
vim-pug
|
|
||||||
vim-prisma
|
vim-prisma
|
||||||
vim-javascript
|
vim-javascript
|
||||||
vim-jsx-pretty
|
vim-jsx-pretty
|
||||||
|
Loading…
Reference in New Issue
Block a user