Improve skip next completion behavior
This commit is contained in:
parent
5a8e589102
commit
d1fa664ec9
@ -563,15 +563,10 @@ function! s:eval_snippet(snippet_text) "{{{
|
||||
endfunction"}}}
|
||||
function! s: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.trigger = 0
|
||||
|
||||
doautocmd CompleteDone
|
||||
endfunction"}}}
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
|
Loading…
Reference in New Issue
Block a user