mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-01-06 22:04:11 +01:00
fixed placeholder bug when hitting <tab> after using the completion menu
This commit is contained in:
@@ -123,8 +123,8 @@ fun! TriggerSnippet()
|
||||
if exists('s:sid')
|
||||
return exists('b:complType') ? b:complType : "\<c-n>"
|
||||
endif
|
||||
call feedkeys("\<esc>a", 'n')
|
||||
return exists('g:snipPos') ? '' : "\<tab>"
|
||||
call feedkeys("\<esc>a", 'n') " Close completion menu
|
||||
call feedkeys("\<tab>") | return ''
|
||||
endif
|
||||
if !exists('s:sid') && exists('g:SuperTabMappingForward')
|
||||
\ && g:SuperTabMappingForward == "<tab>"
|
||||
|
||||
Reference in New Issue
Block a user