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

plugins/mini-test: init

This commit is contained in:
Heitor Augusto 2025-11-02 02:31:29 -03:00 committed by Austin Horstman
parent d0f392f985
commit aa93ed0257
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-test";
moduleName = "mini.test";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
collect = {
emulate_busted = true;
find_files = lib.nixvim.nestedLiteralLua ''
function()
return vim.fn.globpath('tests', '**/test_*.lua', true, true)
end
'';
filter_cases = lib.nixvim.nestedLiteralLua "function(case) return true end";
};
execute = {
reporter = lib.nixvim.nestedLiteralLua "nil";
stop_on_error = false;
};
script_path = "scripts/minitest.lua";
silent = false;
};
}