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

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

31 lines
688 B
Nix
Raw Normal View History

2023-11-22 09:38:52 +01:00
{
2025-03-04 10:09:08 +01:00
example = {
2023-11-22 09:38:52 +01:00
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.elixir = {
enable = true;
settings = {
mix_task = [ "my_custom_task" ];
extra_formatters = [
"ExUnit.CLIFormatter"
"ExUnitNotifier"
];
extra_block_identifiers = [ "test_with_mock" ];
args = [ "--trace" ];
post_process_command.__raw = ''
function(cmd)
return vim.tbl_flatten({{"env", "FOO=bar"}, cmd})
end
'';
write_delay = 1000;
};
};
};
};
};
}