Fix #237 expand trigger problem

This commit is contained in:
Shougo Matsushita 2014-06-16 19:33:58 +09:00
parent 58a203c5dd
commit 6d475877bf
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ function! neosnippet#mappings#_expand_target_trigger(trigger) "{{{
call cursor(line, col)
call neosnippet#view#_expand(neosnippet#util#get_cur_text(), col, a:trigger)
call neosnippet#view#_expand(
\ neosnippet#util#get_cur_text(). ' ', col, a:trigger)
endfunction"}}}
function! s:snippets_expand(cur_text, col) "{{{