17 lines
477 B
Lua
17 lines
477 B
Lua
return {
|
|
"folke/trouble.nvim",
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
opts = {},
|
|
keys = {
|
|
{
|
|
"<leader>xl",
|
|
function()
|
|
require("trouble").open({ mode = "loclist" })
|
|
end,
|
|
desc = "Location List (Trouble)",
|
|
},
|
|
{ "<leader>xq", "<cmd>Trouble quickfix toggle<cr>", desc = "" },
|
|
{ "<leader>xr", "<cmd>Trouble lsp_references toggle<cr>", desc = "" },
|
|
{ "<leader>xx", "<cmd>Trouble diagnostics toggle<cr>", desc = "Diagnostics (Trouble)" },
|
|
},
|
|
}
|