nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/minitest.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
625 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
2024-03-18 14:43:48 +01:00
{
# TODO: added 2024-09-15
# TODO: Re-enable when upstream builds in darwin sandbox
example = lib.mkIf pkgs.stdenv.isLinux {
2024-03-18 14:43:48 +01:00
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.minitest = {
enable = true;
settings = {
test_cmd.__raw = ''
function()
return vim.tbl_flatten({
"bundle",
"exec",
"rails",
"test",
})
end
'';
};
};
};
};
};
}