mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Remap <leader>t so it runs tests
This commit is contained in:
parent
5918823664
commit
98c1e1edb0
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ map("n", "<Leader><leader>t", function()
|
|||
require("mj.test_runner").test_line()
|
||||
end, { desc = "Run test for current line" })
|
||||
|
||||
map("n", "<Leader>t", function()
|
||||
require("mj.test_runner").test_line()
|
||||
end, { desc = "Run test for current line" })
|
||||
|
||||
map("n", "<Leader>T", function()
|
||||
require("mj.test_runner").run_test_file()
|
||||
end, { desc = "Run test file" })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue