Skip to content
Permalink
Browse files

Check exists('#BufReadCmd')

  • Loading branch information...
Shougo committed Jul 30, 2019
1 parent d7ea245 commit a372c83591ca6e2ef69ab7750c91036f9faa1afa
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/dein/autoload.vim
@@ -127,7 +127,7 @@ function! s:source_events(event, plugins) abort
call feedkeys(v:char)
let v:char = ''
else
if a:event ==# 'BufNew'
if exists('#BufReadCmd') && a:event ==# 'BufNew'
" For BufReadCmd plugins
silent doautocmd <nomodeline> BufReadCmd
endif

0 comments on commit a372c83

Please sign in to comment.
You can’t perform that action at this time.