Fix check autocmd

This commit is contained in:
Shougo Matsushita 2016-01-14 10:57:52 +09:00
parent 7eb577c5d0
commit 76c6bbc54e

View File

@ -566,10 +566,10 @@ function! s:skip_next_auto_completion() "{{{
let neosnippet = neosnippet#variables#current_neosnippet()
let neosnippet.trigger = 0
if exists('neocomplete#CompleteDone')
if exists('#neocomplete#CompleteDone')
doautocmd neocomplete CompleteDone
endif
if exists('deoplete#CompleteDone')
if exists('#deoplete#CompleteDone')
doautocmd deoplete CompleteDone
endif
endfunction"}}}