aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-10-07 09:02:16 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-10-07 09:02:16 +0200
commit954f8f5fa5f26dc4039116e92761c40e90f49f3e (patch)
tree0e99bed8e5b49346f8ffe25e50b0bc2d1e4382ed /after/plugin
parentadaeb5d1132b81dd49e7fcb4a1b9efee26d024c4 (diff)
downloadnvim-conf-954f8f5fa5f26dc4039116e92761c40e90f49f3e.tar.gz
nvim-conf-954f8f5fa5f26dc4039116e92761c40e90f49f3e.zip
Add neotest marked
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/neotest.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/after/plugin/neotest.lua b/after/plugin/neotest.lua
index c1b55c4..a18016e 100644
--- a/after/plugin/neotest.lua
+++ b/after/plugin/neotest.lua
@@ -19,7 +19,7 @@ local hydra = require("hydra")
local hint = [[
NeoTest
- _n_: Near test _f_: Current file _s_: Toggle Summary ^
+ _n_: Near test _f_: Current file _l_: Last Test _m_: Run Marked _s_: Toggle Summary ^
^ ^ _<Esc>_
]]
@@ -44,6 +44,8 @@ hydra({
neotest.run.run(vim.fn.expand("%"))
end,
},
+ { "l", neotest.run.run_last },
+ { "m", neotest.summary.run_marked },
{ "s", neotest.summary.toggle },
{ "<Esc>", nil, { exit = true } },
},