feat(noetest): open trouble instead of quickfix on errors when available

This commit is contained in:
Folke Lemaitre
2023-05-27 09:36:29 +02:00
parent 30824369c2
commit 2c89770504

View File

@ -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")