Skip to content

Commit

Permalink
layers: nerdtree: remove autocmd for bufEnter and bufNew (#510)
Browse files Browse the repository at this point in the history
This causes problems along with the fzf layer and some of the buffer information is lost due to the nerdtree overriding that buffer with it's own
  • Loading branch information
manorit2001 authored Nov 14, 2024
1 parent cabe884 commit a8da48f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions layers/+tools/file-manager/packages.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ else
augroup loadNerdtree
autocmd!
autocmd VimEnter * silent! autocmd! FileExplorer
autocmd BufEnter,BufNew *
\ if isdirectory(expand('<amatch>'))
\| call plug#load('nerdtree')
\| call nerdtree#checkForBrowse(expand("<amatch>"))
\| endif
augroup END

if get(g:, 'spacevim_nerd_fonts', 0)
Expand Down

0 comments on commit a8da48f

Please sign in to comment.