Fix #348 stopinsert problem

This commit is contained in:
Shougo Matsushita 2016-07-01 08:15:01 +09:00
parent aa37cd0fbe
commit d5bef2e5be

View File

@ -70,10 +70,9 @@ function! neosnippet#handlers#_all_clear_markers() abort "{{{
while !empty(neosnippet#variables#expand_stack()) while !empty(neosnippet#variables#expand_stack())
call neosnippet#view#_clear_markers( call neosnippet#view#_clear_markers(
\ neosnippet#variables#expand_stack()[-1]) \ neosnippet#variables#expand_stack()[-1])
stopinsert
endwhile endwhile
finally finally
stopinsert
call setpos('.', pos) call setpos('.', pos)
endtry endtry
endfunction"}}} endfunction"}}}