refactor + add some QoL plugins
This commit is contained in:
parent
526e41767c
commit
f42c1c8fdf
15 changed files with 113 additions and 138 deletions
|
|
@ -18,25 +18,4 @@
|
|||
# Install all grammar packages.
|
||||
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
|
||||
};
|
||||
|
||||
# Refactor modules for nvim-treesitter
|
||||
plugins.treesitter-refactor = {
|
||||
enable = true;
|
||||
|
||||
# Highlights definitions and usages.
|
||||
highlightDefinitions = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Provides "go to usage"
|
||||
navigation = {
|
||||
enable = true;
|
||||
|
||||
# Go to the next / previous usage.
|
||||
keymaps = {
|
||||
gotoNextUsage = "]u";
|
||||
gotoPreviousUsage = "[u";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue