From 6d475877bfa89a99d993c2102637e31c52ca2b35 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Mon, 16 Jun 2014 19:33:58 +0900 Subject: [PATCH] Fix #237 expand trigger problem --- autoload/neosnippet/mappings.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/neosnippet/mappings.vim b/autoload/neosnippet/mappings.vim index dad4f1b..fe55486 100644 --- a/autoload/neosnippet/mappings.vim +++ b/autoload/neosnippet/mappings.vim @@ -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) "{{{