2024-04-03 17:08:26 +02:00
|
|
|
return {
|
|
|
|
"folke/trouble.nvim",
|
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "folke/todo-comments.nvim" },
|
2024-07-08 17:39:15 +02:00
|
|
|
opts = {
|
|
|
|
focus = true,
|
|
|
|
},
|
|
|
|
cmd = "Trouble",
|
2024-04-03 17:08:26 +02:00
|
|
|
keys = {
|
2024-07-08 17:39:15 +02:00
|
|
|
{ "<leader>xw", "<cmd>Trouble diagnostics toggle<CR>", desc = "Open trouble workspace diagnostics" },
|
|
|
|
{ "<leader>xd", "<cmd>Trouble diagnostics toggle filter.buf=0<CR>", desc = "Open trouble document diagnostics" },
|
|
|
|
{ "<leader>xq", "<cmd>Trouble quickfix toggle<CR>", desc = "Open trouble quickfix list" },
|
|
|
|
{ "<leader>xl", "<cmd>Trouble loclist toggle<CR>", desc = "Open trouble location list" },
|
|
|
|
{ "<leader>xt", "<cmd>Trouble todo toggle<CR>", desc = "Open todos in trouble" },
|
2024-04-03 17:08:26 +02:00
|
|
|
},
|
|
|
|
}
|