Skip to content

Commit b199763

Browse files
committed
fix not creating a new file when opening the tree window
1 parent 7e3ff3d commit b199763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lib/winutils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function open()
6666
api.nvim_buf_set_option(buf, opt, val)
6767
end
6868

69-
api.nvim_command('vnew')
69+
api.nvim_command('vsplit')
7070
api.nvim_command('wincmd '..SIDE)
7171
api.nvim_command('vertical resize '..WIN_WIDTH)
7272
api.nvim_win_set_buf(0, buf)

0 commit comments

Comments
 (0)