mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/neotest: init
This commit is contained in:
parent
0ee062ed74
commit
975f1ca526
20 changed files with 916 additions and 2 deletions
27
tests/test-sources/plugins/neotest/elixir.nix
Normal file
27
tests/test-sources/plugins/neotest/elixir.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue