plugins/wrapping: init

This commit is contained in:
Zain Kergaye 2024-09-27 01:57:19 -06:00
parent 10925d811c
commit 31579dc201
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{
pkgs,
lib,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "wrapping";
originalName = "wrapping.nvim";
package = "wrapping-nvim";
maintainers = [ lib.maintainers.ZainKergaye ];
settingsOptions = {
notify_on_switch = defaultNullOpts.mkBool true ''
By default, wrapping.nvim will output a message to the
command line when the hard or soft mode is set.
'';
};
settingsExample = {
notify_on_switch = false;
};
}

View file

@ -0,0 +1,12 @@
{
empty = {
plugins.wrapping.enable = true;
};
defaults = {
plugins.wrapping = {
enable = true;
settings.notify_on_switch = true;
};
};
}