Skip to content

Commit f18efa1

Browse files
committed
fix(ui): split window before opening a file from the Lazy ui, otherwise it'll get closed immediately
1 parent 6f728e6 commit f18efa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/lazy/util.lua

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ end
66

77
function M.open(uri)
88
if M.file_exists(uri) then
9+
vim.cmd.split()
910
return vim.cmd.view(uri)
1011
end
1112
local cmd

0 commit comments

Comments
 (0)