mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-24 15:30:15 -05:00
plugins/wrapping: init
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
empty = {
|
||||
plugins.wrapping.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.wrapping = {
|
||||
enable = true;
|
||||
settings.notify_on_switch = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user