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 == ""