aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-06-02 11:13:25 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-06-02 11:13:25 +0100
commite58177ddcdbba17fbf47d788b70413a91f7c4f34 (patch)
tree0dc945ce8e5a668a3087817d14ae2261f6768e88
parenta5e94e2dc741d6c7833629e210816fcdda99112e (diff)
downloaddotnvim-e58177ddcdbba17fbf47d788b70413a91f7c4f34.tar.gz
dotnvim-e58177ddcdbba17fbf47d788b70413a91f7c4f34.zip
Actually: toggle
-rw-r--r--lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp.lua b/lsp.lua
index 397cc8d..d48ba65 100644
--- a/lsp.lua
+++ b/lsp.lua
@@ -78,6 +78,6 @@ vim.cmd([[autocmd BufWritePre *.go :lua vim.lsp.buf.formatting_seq_sync()]])
-- for trouble
require("trouble").setup()
-vim.api.nvim_set_keymap("n", "<leader>xx", "<cmd>Trouble<cr>",
+vim.api.nvim_set_keymap("n", "<leader>xx", "<cmd>TroubleToggle<cr>",
{silent = true, noremap = true}
)