switch auto close method of file tree

This commit is contained in:
Jidbo 2022-04-13 21:45:29 +02:00 committed by saibotk
parent 46f5107fd0
commit 782eb2a952
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -76,3 +76,5 @@ require'nvim-tree'.setup {
cmd = 'trash'
}
}
vim.cmd("autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif")