mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
neovim: Enable treesitter highlighting
This works, however some of the syntax highlighting with treesitter feels worse compared to the default syntax highlighting, so it may be more useful to keep it disabled.
This commit is contained in:
parent
864ed55261
commit
49cc04114e
@ -603,6 +603,19 @@ in
|
|||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
plugin = nvim-treesitter.withAllGrammars;
|
||||||
|
type = "lua";
|
||||||
|
config = /* lua */ ''
|
||||||
|
require'nvim-treesitter.configs'.setup {
|
||||||
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
disable = { "rust" },
|
||||||
|
additional_vim_regex_highlighting = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
||||||
cosco-vim
|
cosco-vim
|
||||||
fzf-vim
|
fzf-vim
|
||||||
vim-caddyfile
|
vim-caddyfile
|
||||||
@ -626,7 +639,6 @@ in
|
|||||||
vim-svelte
|
vim-svelte
|
||||||
typst-vim
|
typst-vim
|
||||||
emmet-vim
|
emmet-vim
|
||||||
nvim-treesitter.withAllGrammars
|
|
||||||
tagbar
|
tagbar
|
||||||
yats-vim
|
yats-vim
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user