fix not creating a new file when opening the tree window

This commit is contained in:
kiyan42 2020-03-08 00:18:14 +01:00
parent 7e3ff3db86
commit b199763856

View File

@ -66,7 +66,7 @@ local function open()
api.nvim_buf_set_option(buf, opt, val)
end
api.nvim_command('vnew')
api.nvim_command('vsplit')
api.nvim_command('wincmd '..SIDE)
api.nvim_command('vertical resize '..WIN_WIDTH)
api.nvim_win_set_buf(0, buf)