diff --git a/autoload/neosnippet/mappings.vim b/autoload/neosnippet/mappings.vim index 7639d2d..0198410 100644 --- a/autoload/neosnippet/mappings.vim +++ b/autoload/neosnippet/mappings.vim @@ -112,7 +112,7 @@ function! neosnippet#mappings#_expand_target_trigger(trigger) abort let cur_text = a:trigger else let cur_text = neosnippet#util#get_cur_text() - let cur_text = cur_text[: col-2] . a:trigger . cur_text[col :] + let cur_text = cur_text[: col-2] . a:trigger endif call neosnippet#view#_expand(cur_text, col, a:trigger)