diff --git a/plugin/snipMate.vim b/plugin/snipMate.vim index b4d73e4..393029b 100644 --- a/plugin/snipMate.vim +++ b/plugin/snipMate.vim @@ -127,7 +127,7 @@ fun! TriggerSnippet() if pumvisible() " Update snippet if completion is used, or deal with supertab if exists('s:sid') | return "\" | endif call feedkeys("\a", 'n') - return '' + return exists('s:snipPos') ? '' : "\" endif if !exists('s:sid') && exists('g:SuperTabMappingForward') \ && g:SuperTabMappingForward == ""