plugins/mini-surround: init

This commit is contained in:
Heitor Augusto 2025-05-24 16:46:50 -03:00
parent 2c0a9ff1e2
commit 96e0cc192d
No known key found for this signature in database
GPG key ID: 53C04F8F46A1A344
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-surround";
moduleName = "mini.surround";
packPathName = "mini.surround";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
n_lines = 50;
respect_selection_type = true;
search_method = "cover_or_next";
};
}

View file

@ -0,0 +1,17 @@
{
empty = {
plugins.mini-surround.enable = true;
};
example = {
plugins.mini-surround = {
enable = true;
settings = {
n_lines = 50;
respect_selection_type = true;
search_method = "cover_or_next";
};
};
};
}