nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/ctest.nix
2025-08-23 02:11:42 +00:00

23 lines
443 B
Nix

{
example = {
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.ctest = {
enable = true;
settings = {
is_test_file.__raw = ''
function(file_path)
-- check if path has test in it
return string.match(file_path, "test") ~= nil
end
'';
};
};
};
};
};
}