mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins/coverage: Added keymap for the loadLcov command.
This commit is contained in:
parent
4730563e01
commit
87c7757a5b
2 changed files with 8 additions and 0 deletions
|
@ -50,6 +50,13 @@ let
|
||||||
command = "Summary";
|
command = "Summary";
|
||||||
description = "Displays a coverage summary report in a floating window.";
|
description = "Displays a coverage summary report in a floating window.";
|
||||||
};
|
};
|
||||||
|
loadLcov = {
|
||||||
|
command = "LoadLcov";
|
||||||
|
description = ''
|
||||||
|
Loads a coverage report from an lcov file but does not display the coverage signs.
|
||||||
|
Uses the lcov file configuration option.
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
toggle = "<leader>e";
|
toggle = "<leader>e";
|
||||||
clear = "<leader>f";
|
clear = "<leader>f";
|
||||||
summary = "<leader>g";
|
summary = "<leader>g";
|
||||||
|
loadLcov = "<leader>h";
|
||||||
};
|
};
|
||||||
|
|
||||||
autoReload = false;
|
autoReload = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue