remove vim hack to exit when the only buffer is nvim-tree
parent
d154973cc8
commit
296536d31a
|
@ -145,7 +145,7 @@ let g:nvim_tree_auto_close = 1
|
|||
" let g:nvim_tree_quit_on_open = 1
|
||||
let g:nvim_tree_git_hl = 1
|
||||
lua require'nvim-tree'.setup()
|
||||
autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif
|
||||
"autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif
|
||||
|
||||
"set guifont=OperatorMono\ Nerd\ Font:h16
|
||||
|
||||
|
|
Loading…
Reference in New Issue