nix-config/modules/home-manager/coding/neovim/config/plugins/vim-test.nix
Oliver Davies 6a87e455bd
All checks were successful
/ check (push) Successful in 1m39s
nix fmt
2025-07-10 22:55:59 +01:00

20 lines
346 B
Nix

{ config, lib, ... }:
{
plugins.vim-test.enable = true;
keymaps = lib.mkIf config.plugins.vim-test.enable [
{
key = "<leader>tf";
action = "<cmd>TestFile<CR>";
}
{
key = "<leader>tl";
action = "<cmd>TestLast<CR>";
}
{
key = "<leader>tn";
action = "<cmd>TestNearest<CR>";
}
];
}