We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2357f86 commit a17400cCopy full SHA for a17400c
lua/opencode/ui/ui.lua
@@ -66,7 +66,7 @@ end
66
---@param type 'vertical' | 'horizontal'
67
local function open_split(direction, type)
68
if type == 'vertical' then
69
- vim.cmd((direction == 'left' and 'leftabove' or 'rightbelow') .. ' vsplit')
+ vim.cmd((direction == 'left' and 'topleft' or 'botright') .. ' vsplit')
70
else
71
vim.cmd((direction == 'top' and 'aboveleft' or 'belowright') .. ' split')
72
end
0 commit comments