ignore errors when removing netrw autocmds if they dont exist

This commit is contained in:
Martin Grenfell
2008-12-17 23:31:59 +13:00
parent 56b5446eaf
commit d0d755ff87

View File

@@ -159,7 +159,7 @@ augroup END
if g:NERDTreeHijackNetrw
augroup NERDTreeHijackNetrw
autocmd VimEnter * autocmd! FileExplorer
autocmd VimEnter * silent! autocmd! FileExplorer
au BufEnter * call s:checkForBrowse(expand("<amatch>"))
augroup END
endif