diff --git a/plugins/by-name/mini-surround/default.nix b/plugins/by-name/mini-surround/default.nix new file mode 100644 index 00000000..f8f0628b --- /dev/null +++ b/plugins/by-name/mini-surround/default.nix @@ -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"; + }; +} diff --git a/tests/test-sources/plugins/by-name/mini-surround/default.nix b/tests/test-sources/plugins/by-name/mini-surround/default.nix new file mode 100644 index 00000000..60d4596f --- /dev/null +++ b/tests/test-sources/plugins/by-name/mini-surround/default.nix @@ -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"; + }; + }; + }; +}