mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
Merge 96e0cc192d
into 6a1a348ab1
This commit is contained in:
commit
c70cf47ee8
2 changed files with 31 additions and 0 deletions
14
plugins/by-name/mini-surround/default.nix
Normal file
14
plugins/by-name/mini-surround/default.nix
Normal 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";
|
||||
};
|
||||
}
|
17
tests/test-sources/plugins/by-name/mini-surround/default.nix
Normal file
17
tests/test-sources/plugins/by-name/mini-surround/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue