switch auto close method of file tree
This commit is contained in:
parent
46f5107fd0
commit
782eb2a952
1 changed files with 2 additions and 0 deletions
|
@ -76,3 +76,5 @@ require'nvim-tree'.setup {
|
||||||
cmd = 'trash'
|
cmd = 'trash'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vim.cmd("autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif")
|
||||||
|
|
Loading…
Add table
Reference in a new issue