return { "folke/trouble.nvim", event = "VimEnter", config = function() -- Diagnostics require("trouble").setup({ signs = { -- icons / text used for a diagnostic error = " ", warning = " ", hint = " ", information = " ", other = "?﫠", }, use_diagnostic_signs = false, -- enabling this will use the signs defined in your lsp client }) end, keys = { { "gr", "Trouble lsp_references" }, { "xx", "Trouble" }, { "xw", "Trouble workspace_diagnostics" }, { "xd", "Trouble document_diagnostics" }, { "xl", "Trouble loclist" }, { "xq", "Trouble quickfix" }, { "[g", "lua vim.diagnostic.goto_prev()" }, { "]g", "lua vim.diagnostic.goto_next()" }, }, }