fix not creating a new file when opening the tree window
This commit is contained in:
parent
7e3ff3db86
commit
b199763856
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user