plugins/vim-test: init

This commit is contained in:
Gaetan Lepage 2025-05-23 14:21:01 +02:00 committed by nix-infra-bot
parent c457fe9424
commit 4dc8d1e918
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, ... }:
lib.nixvim.plugins.mkVimPlugin {
name = "vim-test";
globalPrefix = "test#";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
preserve_screen = false;
"javascript#jest#options" = "--reporters jest-vim-reporter";
strategy = {
nearest = "vimux";
file = "vimux";
suite = "vimux";
};
"neovim#term_position" = "vert";
};
}

View file

@ -0,0 +1,22 @@
{
empty = {
plugins.vim-test.enable = true;
};
example = {
plugins.vim-test = {
enable = true;
settings = {
preserve_screen = false;
"javascript#jest#options" = "--reporters jest-vim-reporter";
strategy = {
nearest = "vimux";
file = "vimux";
suite = "vimux";
};
"neovim#term_position" = "vert";
};
};
};
}