nixvim/plugins/treesitter.nix
Lander Van den Bulcke 61feed4086
refactor: complete overhaul
Complete overhaul of repo structure based on nvix.

See https://github.com/niksingh710/nvix

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2025-10-19 18:25:15 +02:00

39 lines
703 B
Nix

{ pkgs, ... }:
{
plugins = {
mini-ai.enable = true;
sleuth.enable = true;
treesitter = {
enable = true;
settings = {
highlight = {
enable = true;
disable = [
"latex"
"markdown"
];
};
auto_install = true;
indent_enable = true;
folding = true;
autoLoad = true;
incremental_selection.enable = true;
nixvimInjections = true;
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
};
};
treesitter-context = {
enable = true;
settings = {
max_lines = 4;
min_window_height = 40;
};
};
};
}