mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
39 lines
894 B
Nix
39 lines
894 B
Nix
|
{
|
||
|
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
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|