aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp.lua b/lsp.lua
index 05d19be..cc77386 100644
--- a/lsp.lua
+++ b/lsp.lua
@@ -98,6 +98,6 @@ vim.diagnostic.config({ virtual_text = true, signs = true })
-- for trouble
require("trouble").setup()
-vim.api.nvim_set_keymap("n", "<leader>xx", "<cmd>TroubleToggle<cr>",
+vim.api.nvim_set_keymap("n", "<leader>xx", "<cmd>Trouble diagnostics toggle<cr>",
{silent = true, noremap = true}
)