Improve skip next completion behavior

This commit is contained in:
Shougo Matsushita 2016-01-09 22:53:10 +09:00
parent 5a8e589102
commit d1fa664ec9

View File

@ -563,15 +563,10 @@ function! s:eval_snippet(snippet_text) "{{{
endfunction"}}} endfunction"}}}
function! s:skip_next_auto_completion() "{{{ function! s:skip_next_auto_completion() "{{{
" Skip next auto completion. " Skip next auto completion.
if exists('*neocomplcache#skip_next_complete')
call neocomplcache#skip_next_complete()
endif
if exists('*neocomplete#skip_next_complete')
call neocomplete#skip_next_complete()
endif
let neosnippet = neosnippet#variables#current_neosnippet() let neosnippet = neosnippet#variables#current_neosnippet()
let neosnippet.trigger = 0 let neosnippet.trigger = 0
doautocmd CompleteDone
endfunction"}}} endfunction"}}}
let &cpo = s:save_cpo let &cpo = s:save_cpo