From c12c9b651f77c257a213b0e6f7b5d4564b0b694b Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Thu, 14 Sep 2023 08:41:25 +0530 Subject: [PATCH] refactor: telescope open with trouble --- lua/plugins/editor.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 6df8684..c92117b 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -177,11 +177,17 @@ return { [""] = function(...) require("telescope.actions").move_selection_next(...) end, + [""] = function(...) + require("trouble.providers.telescope").open_with_trouble(...) + end, }, n = { q = function(...) require("telescope.actions").close(...) end, + [""] = function(...) + require("trouble.providers.telescope").open_with_trouble(...) + end, }, }, },