mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
35 lines
716 B
Nix
35 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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|