mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 22:30:13 +02:00
23 lines
443 B
Nix
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
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|