mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
ignore errors when removing netrw autocmds if they dont exist
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user