1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/treesitter-refactor: migrate to mkNeovimPlugin

This commit is contained in:
Gaetan Lepage 2025-10-17 23:18:28 +02:00 committed by Gaétan Lepage
parent e7952345f5
commit 0d7375b6b7
2 changed files with 59 additions and 140 deletions

View file

@ -1,9 +1,24 @@
{
empty = {
plugins = {
treesitter-refactor.enable = true;
# Also needs treesitter, to avoid warnings
treesitter.enable = true;
treesitter-refactor.enable = true;
};
};
example = {
plugins = {
treesitter.enable = true;
treesitter-refactor = {
enable = true;
settings = {
smart_rename = {
enable = true;
keymaps.smart_rename = "grr";
};
};
};
};
};
}