mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Merge 9a374c7b75
into 6a1a348ab1
This commit is contained in:
commit
9accbbff24
2 changed files with 30 additions and 0 deletions
15
plugins/by-name/mini-git/default.nix
Normal file
15
plugins/by-name/mini-git/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
name = "mini-git";
|
||||||
|
moduleName = "mini.git";
|
||||||
|
packPathName = "mini.git";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||||
|
|
||||||
|
dependencies = [ "git" ];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
job.timeout = 20000;
|
||||||
|
command.split = "horizontal";
|
||||||
|
};
|
||||||
|
}
|
15
tests/test-sources/plugins/by-name/mini-git/default.nix
Normal file
15
tests/test-sources/plugins/by-name/mini-git/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.mini-git.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
example = {
|
||||||
|
plugins.mini-git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
job.timeout = 20000;
|
||||||
|
command.split = "horizontal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue