diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-09-01 14:00:10 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-09-01 14:00:10 +0200 |
| commit | 96c4f3ca9c9836ff926ec5969d29007e725ee68b (patch) | |
| tree | a3669f45e80ebc8644506c476125515f810edf2e /lua/alpha/test_menu.lua | |
| parent | f4fe416201cc9d1cba5dfa3fec0879601fb85ae7 (diff) | |
| download | nvim-conf-96c4f3ca9c9836ff926ec5969d29007e725ee68b.tar.gz nvim-conf-96c4f3ca9c9836ff926ec5969d29007e725ee68b.zip | |
change test strategies
Diffstat (limited to 'lua/alpha/test_menu.lua')
| -rw-r--r-- | lua/alpha/test_menu.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/alpha/test_menu.lua b/lua/alpha/test_menu.lua index 5b3e5a5..afe3a9e 100644 --- a/lua/alpha/test_menu.lua +++ b/lua/alpha/test_menu.lua @@ -2,7 +2,8 @@ local hydra = require "hydra" local hint = [[ Vim Tests - _n_: Near test _f_: Current file _s_: Test Suit ^ + _n_: Near test _h_: Harpoon ^ + _f_: Current file _s_: Test Suit ^ _l_: Test Last _g_: Visit _w_: Watch last Test _p_: stop watch ^ ^ _<Esc>_ ^ @@ -37,6 +38,7 @@ hydra { body = "<leader>t", heads = { { "n", ":TestNearest<CR>" }, + { "h", ":TestNearest -strategy=harpoon<CR>" }, { "f", ":TestFile<CR>" }, { "s", ":TestSuit<CR>" }, { "l", ":TestLast<CR>" }, |