diff --git a/lua/plugins/neotest.lua b/lua/plugins/neotest.lua index a20e0d8..0b03c2a 100644 --- a/lua/plugins/neotest.lua +++ b/lua/plugins/neotest.lua @@ -15,13 +15,6 @@ return { } end, keys = { - { - "nt", - function() - require("neotest").run.run() - end, - { desc = "Run Neotest" }, - }, { "nt", function() @@ -29,6 +22,34 @@ return { end, { desc = "Test current file" }, }, + { + "nT", + function() + require("neotest").run.run() + end, + { desc = "Run test suite" }, + }, + { + "ns", + function() + require("neotest").summary.toggle() + end, + { desc = "Toggle neotest summary" }, + }, + { + "nw", + function() + require("neotest").watch.watch(vim.fn.expand "%") + end, + { desc = "Watch current file" }, + }, + { + "nW", + function() + require("neotest").watch.watch() + end, + { desc = "Watch test suite" }, + }, }, }, }