refactor(nvim): add workspace_diagnostic keymap for trouble

This commit is contained in:
Price Hiller 2024-02-19 03:58:35 -06:00
parent aedd1064f0
commit 336919dc2b
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -33,7 +33,9 @@ return {
desc = "LSP: Implementation",
},
{ "<leader>ld", "<cmd>Trouble lsp_definitions<CR>", desc = "LSP: Definition" },
{ "<leader>xd", "<cmd>Trouble document_diagnostics<cr>", desc = "Trouble: Document Diagnostics" },
{ "<leader>xd", desc = "> Trouble: Diagnostics" },
{ "<leader>xdd", "<cmd>Trouble document_diagnostics<cr>", desc = "Trouble: Document Diagnostics" },
{ "<leader>xdw", "<cmd>Trouble workspace_diagnostics<cr>", desc = "Trouble: Workspace Diagnostics" },
{ "<leader>xl", "<cmd>Trouble loclist<cr>", desc = "Trouble: Loclist" },
{ "<leader>xq", "<cmd>Trouble quickfix<cr>", desc = "Trouble: Quickfix" },
{ "<leader>xt", "<cmd>TodoTrouble<cr>", desc = "Trouble: Todo Items" },