add plugin trouble
This commit is contained in:
parent
f0879dd3dd
commit
22b8eb3178
|
@ -101,4 +101,18 @@ return {
|
||||||
{ "gq", vim.diagnostic.setloclist, mode = "n" }
|
{ "gq", vim.diagnostic.setloclist, mode = "n" }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"folke/trouble.nvim",
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
{ "<leader>xx", "<cmd>TroubleToggle<cr>", mode = "n" },
|
||||||
|
{ "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>", mode = "n" },
|
||||||
|
{ "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>", mode = "n" },
|
||||||
|
{ "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", mode = "n" },
|
||||||
|
{ "<leader>xl", "<cmd>TroubleToggle loclist<cr>", mode = "n" },
|
||||||
|
{ "<leader>xr", "<cmd>TroubleToggle lsp_references<cr>", mode = "n" },
|
||||||
|
},
|
||||||
|
opts = { },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue