From 80add0f93bbf1331538ef1e26f3461e5c68c24ca Mon Sep 17 00:00:00 2001 From: Michael Sanders Date: Thu, 26 Mar 2009 00:19:10 -0400 Subject: [PATCH] fixed placeholder bug when hitting after using the completion menu --- plugin/snipMate.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/snipMate.vim b/plugin/snipMate.vim index d132a1d..5855d1f 100644 --- a/plugin/snipMate.vim +++ b/plugin/snipMate.vim @@ -123,8 +123,8 @@ fun! TriggerSnippet() if exists('s:sid') return exists('b:complType') ? b:complType : "\" endif - call feedkeys("\a", 'n') - return exists('g:snipPos') ? '' : "\" + call feedkeys("\a", 'n') " Close completion menu + call feedkeys("\") | return '' endif if !exists('s:sid') && exists('g:SuperTabMappingForward') \ && g:SuperTabMappingForward == ""