2024-12-05 03:11:13 +00:00
|
|
|
{
|
|
|
|
programs.nixvim.plugins = {
|
|
|
|
treesitter = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
nixvimInjections = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
highlight.enable = true;
|
|
|
|
indent.enable = true;
|
2025-01-02 23:14:21 +00:00
|
|
|
incremental_selection = {
|
|
|
|
enable = true;
|
|
|
|
keymaps.node_incremental = "v";
|
|
|
|
keymaps.node_decremental = "V";
|
|
|
|
};
|
2024-12-05 03:11:13 +00:00
|
|
|
};
|
|
|
|
folding = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
treesitter-refactor = {
|
|
|
|
enable = true;
|
|
|
|
highlightDefinitions = {
|
|
|
|
enable = true;
|
|
|
|
# set to false if you have an updatetime of ~100
|
|
|
|
clearOnCursorMove = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
hmts.enable = true;
|
|
|
|
};
|
2024-12-20 01:30:06 +00:00
|
|
|
}
|