diff --git a/lua/lazyvim/plugins/extras/test/core.lua b/lua/lazyvim/plugins/extras/test/core.lua index ce4a5856..3d2bbe82 100644 --- a/lua/lazyvim/plugins/extras/test/core.lua +++ b/lua/lazyvim/plugins/extras/test/core.lua @@ -21,6 +21,15 @@ return { -- args = { "-tags=integration" }, -- }, -- }, + quickfix = { + open = function() + if require("lazyvim.util").has("trouble.nvim") then + vim.cmd("Trouble quickfix") + else + vim.cmd("copen") + end + end, + }, }, config = function(_, opts) local neotest_ns = vim.api.nvim_create_namespace("neotest")