From 9b54003f5eb653fc2c31ff9c85d0f7b774b15c17 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Thu, 8 Jun 2023 05:54:23 +0600 Subject: [PATCH] fix: use `:botright` modifier for quickfix window open (#2554) (cherry picked from commit 9a82b5b73eba8c8d71bacedd062d20fe6d3c791a) --- lua/telescope/actions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index 2d0b863..28c54b5 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -1021,7 +1021,7 @@ end --- `actions.smart_send_to_qflist + actions.open_qflist` ---@param prompt_bufnr number: The prompt bufnr actions.open_qflist = function(prompt_bufnr) - vim.cmd [[copen]] + vim.cmd [[botright copen]] end --- Open the location list. It makes sense to use this in combination with one of the send_to_loclist actions