mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
31 lines
688 B
Nix
31 lines
688 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.tbl_flatten({{"env", "FOO=bar"}, cmd})
|
||
|
end
|
||
|
'';
|
||
|
write_delay = 1000;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|