Fix #243 improve expand target behavior

This commit is contained in:
Shougo Matsushita 2014-07-30 20:20:47 +09:00
parent b898dd9a9b
commit 292df943a0

View File

@ -127,6 +127,11 @@ function! neosnippet#mappings#_expand_target_trigger(trigger) "{{{
endif
call neosnippet#view#_expand(cur_text, col, a:trigger)
if !neosnippet#mappings#jumpable()
call cursor(0, col('.') - 1)
stopinsert
endif
endfunction"}}}
function! s:snippets_expand(cur_text, col) "{{{