return { "folke/trouble.nvim", cond = not vim.g.vscode, dependencies = "nvim-tree/nvim-web-devicons", cmd = "TroubleToggle", init = function() vim.keymap.set("n", "xx", "TroubleToggle") end, config = true, opts = { mode = "workspace_diagnostics", auto_open = false, auto_close = true, auto_preview = true, auto_jump = { "lsp_definitions" }, use_diagnostic_signs = true, }, }