dotfiles/home/modules/tui/neovim/plugins/treesitter.nix
2024-12-19 19:30:06 -06:00

26 lines
469 B
Nix

{
programs.nixvim.plugins = {
treesitter = {
enable = true;
nixvimInjections = true;
settings = {
highlight.enable = true;
indent.enable = true;
};
folding = true;
};
treesitter-refactor = {
enable = true;
highlightDefinitions = {
enable = true;
# set to false if you have an updatetime of ~100
clearOnCursorMove = false;
};
};
hmts.enable = true;
};
}