nix-community.nixvim/tests/test-sources/plugins/by-name/neotest/ctest.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
443 B
Nix
Raw Normal View History

{
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
'';
};
};
};
};
};
}