From 954f8f5fa5f26dc4039116e92761c40e90f49f3e Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 7 Oct 2022 09:02:16 +0200 Subject: Add neotest marked --- after/plugin/neotest.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'after/plugin/neotest.lua') 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 ^ ^ ^ __ ]] @@ -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 }, { "", nil, { exit = true } }, }, -- cgit v1.2.3