2023-05-04 12:39:25 +01:00
|
|
|
return {
|
|
|
|
"folke/trouble.nvim",
|
2023-05-31 16:47:30 +01:00
|
|
|
cond = not vim.g.vscode,
|
2023-05-04 12:39:25 +01:00
|
|
|
dependencies = "nvim-tree/nvim-web-devicons",
|
|
|
|
cmd = "TroubleToggle",
|
2023-06-05 15:56:25 +01:00
|
|
|
init = function() vim.keymap.set("n", "<leader>xx", "<cmd>TroubleToggle<cr>") end,
|
2023-05-16 09:22:33 +01:00
|
|
|
config = true,
|
|
|
|
opts = {
|
|
|
|
mode = "workspace_diagnostics",
|
|
|
|
auto_open = false,
|
2023-06-05 15:56:25 +01:00
|
|
|
auto_close = true,
|
2023-05-16 09:22:33 +01:00
|
|
|
auto_preview = true,
|
2023-05-17 14:57:53 +01:00
|
|
|
auto_jump = { "lsp_definitions" },
|
|
|
|
use_diagnostic_signs = true,
|
2023-05-16 09:22:33 +01:00
|
|
|
},
|
2023-05-04 12:39:25 +01:00
|
|
|
}
|