mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 04:13:48 -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
|
if g:NERDTreeHijackNetrw
|
||||||
augroup NERDTreeHijackNetrw
|
augroup NERDTreeHijackNetrw
|
||||||
autocmd VimEnter * autocmd! FileExplorer
|
autocmd VimEnter * silent! autocmd! FileExplorer
|
||||||
au BufEnter * call s:checkForBrowse(expand("<amatch>"))
|
au BufEnter * call s:checkForBrowse(expand("<amatch>"))
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user