From 8ce9021de72b402547ad4e7f6e06a9779d6969dd Mon Sep 17 00:00:00 2001 From: fiplox Date: Sat, 15 Apr 2023 12:46:32 +0200 Subject: [PATCH] fix: disable auto preview, causes some bugs --- lua/plugins/trouble.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/trouble.lua b/lua/plugins/trouble.lua index 9e6a1dc..6df27c7 100644 --- a/lua/plugins/trouble.lua +++ b/lua/plugins/trouble.lua @@ -43,7 +43,7 @@ function M.config() indent_lines = true, -- add an indent guide below the fold icons auto_open = false, -- automatically open the list when you have diagnostics auto_close = false, -- automatically close the list when you have no diagnostics - auto_preview = true, -- automatically preview the location of the diagnostic. to close preview and go back to last window + auto_preview = false, -- automatically preview the location of the diagnostic. to close preview and go back to last window auto_fold = false, -- automatically fold a file trouble list at creation auto_jump = { 'lsp_definitions' }, -- for the given modes, automatically jump if there is only a single result signs = {