mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
plugins/neotest: add more adapters
This commit is contained in:
parent
975f1ca526
commit
5004178c0c
6 changed files with 109 additions and 2 deletions
38
tests/test-sources/plugins/neotest/foundry.nix
Normal file
38
tests/test-sources/plugins/neotest/foundry.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
enable = true;
|
||||
|
||||
adapters.foundry = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
foundryCommand = "forge test";
|
||||
foundryConfig = null;
|
||||
env = {};
|
||||
cwd.__raw = ''
|
||||
function ()
|
||||
return lib.files.match_root_pattern("foundry.toml")
|
||||
end
|
||||
'';
|
||||
filterDir.__raw = ''
|
||||
function(name)
|
||||
return (
|
||||
name ~= "node_modules"
|
||||
and name ~= "cache"
|
||||
and name ~= "out"
|
||||
and name ~= "artifacts"
|
||||
and name ~= "docs"
|
||||
and name ~= "doc"
|
||||
-- and name ~= "lib"
|
||||
)
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue