Skip to content

Commit

Permalink
feat: added running the entire file for neotest
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeagen committed Jan 31, 2024
1 parent 4d7a467 commit cd1167a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/theprimeagen/lazy/neotest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ return {
vim.keymap.set("n", "<leader>tc", function()
neotest.run.run()
end)

vim.keymap.set("n", "<leader>tf", function()
neotest.run.run(vim.fn.expand("%"))
end)
end,
},
}
Expand Down

0 comments on commit cd1167a

Please sign in to comment.