diff --git a/dots/.config/nvim/lua/plugins/configs/trouble.lua b/dots/.config/nvim/lua/plugins/configs/trouble.lua index d3d2f214..82e50211 100644 --- a/dots/.config/nvim/lua/plugins/configs/trouble.lua +++ b/dots/.config/nvim/lua/plugins/configs/trouble.lua @@ -46,18 +46,13 @@ return { end }) require("trouble").setup({ + auto_open = true, auto_close = true, position = "right", action_keys = { cancel = "q" } }) - vim.api.nvim_create_autocmd("BufLeave", { - pattern = "*Trouble*", - callback = function() - vim.api.nvim_win_close(0, true) - end, - }) end, cmd = { "Trouble",