require("trouble").setup { position = "bottom", auto_open = true, auto_close = true, auto_preview = false, icons = true, } -- Keybindings vim.keymap.set("n", "x", "TroubleToggle workspace_diagnostics", { noremap = true, silent = true }) vim.keymap.set("n", ")", function () require("trouble").next({ skip_groups = true, jump = true }) end, { noremap = true, silent = true }) vim.keymap.set("n", "(", function () require("trouble").previous({ skip_groups = true, jump = true }) end, { noremap = true, silent = true })