31 lines
580 B
Nix
31 lines
580 B
Nix
{...}: {
|
|
programs.nixvim = {
|
|
plugins = {
|
|
treesitter = {
|
|
enable = true;
|
|
nixvimInjections = true;
|
|
|
|
settings = {
|
|
indent.enable = true;
|
|
highlight = {
|
|
enable = true;
|
|
disable = [
|
|
"latex"
|
|
];
|
|
};
|
|
incremental_selection.enable = true;
|
|
};
|
|
};
|
|
|
|
treesitter-context = {
|
|
enable = false;
|
|
};
|
|
|
|
treesitter-refactor = {
|
|
enable = true;
|
|
highlightDefinitions.enable = true;
|
|
};
|
|
hmts.enable = true;
|
|
};
|
|
};
|
|
}
|