Fix vertical shell window position

This commit is contained in:
MarcHamamji 2023-04-08 14:24:43 +03:00
parent 9256c1659d
commit 2e49140530

View File

@ -75,7 +75,7 @@ M.choice = function(handlers)
end)
actions.select_vertical:replace(function()
local default_position = config.options.position
config.options.position = 'top'
config.options.position = 'right'
actions.close(prompt_bufnr)
local handler_name = action_state.get_selected_entry()[1]