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:
parent
e7952345f5
commit
0d7375b6b7
2 changed files with 59 additions and 140 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue