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