From a47663b17439946f99a2e040b386532bd23d7299 Mon Sep 17 00:00:00 2001 From: fiplox Date: Tue, 21 Mar 2023 07:19:03 +0100 Subject: [PATCH] feat: autopreview for trouble --- 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 d67ff9f..3334506 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 = false, -- automatically preview the location of the diagnostic. to close preview and go back to last window + auto_preview = true, -- 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 = {