Skip to content

Commit

Permalink
Correct neotest functions
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 21, 2024
1 parent e64d30b commit 6515a61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions home/nixvim/neotest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ in {
keymaps = [
(keymap {
key = "tf";
action = ''require("neotest").run.run(vim.fn.expand("%"))'';
action = ''function() require("neotest").run.run(vim.fn.expand("%")) end'';
})
(keymap {
key = "tl";
action = ''require("neotest").run.run_last()'';
action = ''function() require("neotest").run.run_last() end'';
})
(keymap {
key = "tn";
action = ''require("neotest").run.run()'';
action = ''function() require("neotest").run.run() end'';
})
];
};
Expand Down

0 comments on commit 6515a61

Please sign in to comment.