mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixvimConfigs/fiesta/setups/treesitter: update and add treesitter-refactor plugin config
This commit is contained in:
parent
fc7eb5f7de
commit
bdd0b82644
@ -18,10 +18,12 @@ in
|
||||
# want to.
|
||||
nixGrammars = true;
|
||||
ensureInstalled = "all";
|
||||
nixvimInjections = true;
|
||||
|
||||
# Enable all of its useful features.
|
||||
folding = true;
|
||||
indent = true;
|
||||
incrementalSelection.enable = true;
|
||||
};
|
||||
|
||||
# Enable some more context for me.
|
||||
@ -29,10 +31,19 @@ in
|
||||
enable = true;
|
||||
lineNumbers = true;
|
||||
maxLines = 10;
|
||||
mode = "topline";
|
||||
mode = "cursor";
|
||||
separator = "*";
|
||||
};
|
||||
|
||||
# Some niceties for refactoring.
|
||||
plugins.treesitter-refactor = {
|
||||
enable = true;
|
||||
highlightCurrentScope.enable = true;
|
||||
highlightDefinitions.enable = true;
|
||||
navigation.enable = true;
|
||||
smartRename.enable = true;
|
||||
};
|
||||
|
||||
# Show me your moves.
|
||||
plugins.treesitter-textobjects = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user