1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-19 23:41:13 +01:00
nixvim/tests/test-sources/plugins/by-name/neotest/elixir.nix
Austin Horstman 53e19bd5e9 tests/neotest: avoid deprecated vim.tbl_flatten
Use plain tables (and vim.iter flatten where needed).
2025-12-17 08:44:16 +00:00

30 lines
705 B
Nix

{
example = {
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.iter({ { "env", "FOO=bar" }, cmd }):flatten():totable()
end
'';
write_delay = 1000;
};
};
};
};
};
}