Add nvim-lazy submodule and add plugin configuration.
This commit is contained in:
parent
f545e30831
commit
b1ad0b623a
39 changed files with 1599 additions and 0 deletions
23
pkgsets/nvim/undotree.nix
Normal file
23
pkgsets/nvim/undotree.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.mkIf (lib.elem "nvim::undotree" config.machine.pkgs) {
|
||||
programs.nvim-lazy.lazyPlugins = [
|
||||
{
|
||||
lazy = true;
|
||||
dir = vPlug: vPlug.undotree;
|
||||
keys = [
|
||||
{
|
||||
bind = "<leader>u";
|
||||
cmd = "<Cmd>UndotreeToggle<CR>";
|
||||
opts = {
|
||||
desc = "Toggle Undotree";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue