mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
28 lines
512 B
Nix
28 lines
512 B
Nix
|
{
|
||
|
example = {
|
||
|
plugins = {
|
||
|
treesitter.enable = true;
|
||
|
neotest = {
|
||
|
enable = true;
|
||
|
|
||
|
adapters.jest = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
jestCommand = "npm test --";
|
||
|
jestConfigFile = "custom.jest.config.ts";
|
||
|
env = {
|
||
|
CI = true;
|
||
|
};
|
||
|
cwd.__raw = ''
|
||
|
function(path)
|
||
|
return vim.fn.getcwd()
|
||
|
end
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|