return {
	"folke/trouble.nvim",
	dependencies = { "nvim-tree/nvim-web-devicons" },
	opts = {},
	config = function()
		vim.keymap.set("n", "<leader>xx", function() require("trouble").toggle() end)
		vim.keymap.set("n", "<leader>xw", function() require("trouble").toggle("workspace_diagnostics") end)
		vim.keymap.set("n", "<leader>xd", function() require("trouble").toggle("document_diagnostics") end)
		vim.keymap.set("n", "<leader>xq", function() require("trouble").toggle("quickfix") end)
		vim.keymap.set("n", "<leader>xl", function() require("trouble").toggle("loclist") end)
		vim.keymap.set("n", "gr", function() require("trouble").open("lsp_references") end)
	end
}
