From e58177ddcdbba17fbf47d788b70413a91f7c4f34 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 2 Jun 2022 11:13:25 +0100 Subject: Actually: toggle --- lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", "xx", "Trouble", +vim.api.nvim_set_keymap("n", "xx", "TroubleToggle", {silent = true, noremap = true} ) -- cgit v1.2.3