1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/kiwi: init

Closes #3615
This commit is contained in:
Gaetan Lepage 2025-10-07 11:06:10 +02:00 committed by Gaétan Lepage
parent b9d0415b1c
commit 9023e15e60
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "kiwi";
package = "kiwi-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
__unkeyed-1 = {
name = "work";
path = "work-wiki";
};
__unkeyed-2 = {
name = "personal";
path = "personal-wiki";
};
};
}

View file

@ -0,0 +1,33 @@
{
empty = {
# stderr is not empty:
# last 1 log lines:
# > ERROR:  /build/build/wiki is created.
test.runNvim = false;
plugins.kiwi.enable = true;
};
example = {
# stderr is not empty:
# last 2 log lines:
# > ERROR:  /build/work-wiki is created.
# >  /build/personal-wiki is created.
test.runNvim = false;
plugins.kiwi = {
enable = true;
settings = {
__unkeyed-1 = {
name = "work";
path = "work-wiki";
};
__unkeyed-2 = {
name = "personal";
path = "personal-wiki";
};
};
};
};
}