diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/neotest.lua b/users/price/dots/.config/nvim/lua/plugins/configs/neotest.lua index 23faba0f..638dd7bc 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/neotest.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/neotest.lua @@ -15,10 +15,17 @@ return { { "kf", "Neotest run file", desc = "Neotest: Run Test(s) in File" }, { "kl", "Neotest run last", desc = "Neotest: Run Last Test(s)" }, { "kp", "Neotest output-panel", desc = "Neotest: Output Panel" }, - { "ko", "Neotest output", desc = "Neotest: Output" }, - { "kn", "Neotest summary toggle", desc = "Neotest: Summary Toggle" }, - { "kk", "Neotest jump prev", desc = "Neotest: Jump Prev" }, - { "kj", "Neotest jump next", desc = "Neotest: Jump Next" }, + { + "ko", + function() + local neotest = require("neotest") + neotest.output.open({ enter = true }) + end, + desc = "Neotest: Output", + }, + { "kk", "Neotest summary toggle", desc = "Neotest: Summary Toggle" }, + { "kn", "Neotest jump prev", desc = "Neotest: Jump Prev" }, + { "kN", "Neotest jump next", desc = "Neotest: Jump Next" }, { "ka", "Neotest attach", desc = "Neotest: Attach" }, }, opts = function()