mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
31 lines
602 B
Nix
31 lines
602 B
Nix
|
{
|
||
|
example = {
|
||
|
plugins = {
|
||
|
treesitter.enable = true;
|
||
|
neotest = {
|
||
|
enable = true;
|
||
|
|
||
|
adapters.python = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
dap.justMyCode = false;
|
||
|
args = [
|
||
|
"--log-level"
|
||
|
"DEBUG"
|
||
|
];
|
||
|
runner = "pytest";
|
||
|
python = ".venv/bin/python";
|
||
|
is_test_file.__raw = ''
|
||
|
function(file_path)
|
||
|
return true
|
||
|
end
|
||
|
'';
|
||
|
pytest_discover_instances = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|