Fix #243 improve expand target behavior
This commit is contained in:
parent
b898dd9a9b
commit
292df943a0
@ -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) "{{{
|
||||
|
Loading…
Reference in New Issue
Block a user