You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this plugin.
Years ago I gave up with making vim's tab behave more "ide like" and do completion with snippets.
Today I decided to give it another go and your plugin does exactly what I want.
I'm using deoplete's "complete as you type asynchronously" behavior with deoplete-jedi for python omni completion.
Well.. deoplete-jedi contains all language keywords for python, so it shows the popup menu for all of my snippets.
This breaks your snipmate fork, because if pumvisible() is true, it ignores the snippets and tries to do the default supertab behavior.
I would really like it to attempt the snippet before doing the completion behavior at all costs.
if pumvisible() " Update snippet if completion is used, or deal with supertab
if exists('SuperTabKey')
call feedkeys(SuperTabKey) | return ''
endif
call feedkeys("\<esc>a", 'n') " Close completion menu
call feedkeys("\<tab>") | return ''
endif
The text was updated successfully, but these errors were encountered:
Thank you for this plugin.
Years ago I gave up with making vim's tab behave more "ide like" and do completion with snippets.
Today I decided to give it another go and your plugin does exactly what I want.
I'm using deoplete's "complete as you type asynchronously" behavior with deoplete-jedi for python omni completion.
Well.. deoplete-jedi contains all language keywords for python, so it shows the popup menu for all of my snippets.
This breaks your snipmate fork, because if pumvisible() is true, it ignores the snippets and tries to do the default supertab behavior.
I would really like it to attempt the snippet before doing the completion behavior at all costs.
It would be nice if this were configurable.
https://github.com/ervandew/snipmate.vim/blob/7d57812381607a735ac25a6192ad17d63f1e4c7f/plugin/snipMate.vim#L168
The text was updated successfully, but these errors were encountered: