mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
34 lines
716 B
Nix
34 lines
716 B
Nix
{
|
|
lazy-load-plugin =
|
|
{ config, ... }:
|
|
{
|
|
plugins = {
|
|
lz-n = {
|
|
enable = true;
|
|
plugins = [
|
|
{
|
|
__unkeyed-1 = "neotest";
|
|
after.__raw = ''
|
|
function()
|
|
${config.plugins.neotest.luaConfig.content}
|
|
end
|
|
'';
|
|
keys = [
|
|
{
|
|
__unkeyed-1 = "<leader>nt";
|
|
__unkeyed-3 = "<CMD>Neotest summary<CR>";
|
|
desc = "Summary toggle";
|
|
}
|
|
];
|
|
|
|
}
|
|
];
|
|
};
|
|
|
|
neotest = {
|
|
enable = true;
|
|
lazyLoad.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|