garbas/vim-snipmate

Unknown function: snipMate#TriggerSnippet

code4pay opened this issue · 7 comments

if I type my snippet character and hit tab I get

E117: Unknown function: snipMate#TriggerSnippet
E15: Invalid expression: snipMate#TriggerSnippet()

using vim 8, plugin loaded by vundle
I have commented out every command in my vimrc and deleted all other plugins except for loading this plugin and get the same error.

Thanks in advance for anyhelp

@code4pay Are you using master from GitHub? Please make sure that you are.

@code4pay Are you on Windows? If so this could be a duplicate of #264

Hi Thanks for the reply, No Not on Windows on Debian Wheezy , and using Vundle checked status of branch and did a pull but it is uptodate with master.
Vundle section of my vimrc

 set nocompatible                                                     
 filetype off                                                         
                                                                      
 set rtp+=~/.vim/bundle/Vundle.vim                                    
 call vundle#begin()                                                  
                                                                      
 Plugin 'VundleVim/Vundle.vim'                                        
                                                                      
 "vundle managed packages                                             
 Plugin 'mileszs/ack.vim'                                             
 Plugin 'tpope/vim-fugitive'                                          
 Plugin 'w0rp/ale'                                                    
 Plugin 'ctrlpvim/ctrlp.vim'                                          
 Plugin 'ap/vim-buftabline'                                           
 Plugin 'MarcWeber/vim-addon-mw-utils'                                
 Plugin 'tomtom/tlib_vim'                                             
 Plugin 'garbas/vim-snipmate'                                         
 call vundle#end()                                                    

Note I have tried both file type on and off with no change.

@code4pay Can you provide a minimal vimrc that produces this issue for you? That is a vimrc that contains absolutely nothing but what's necessary to produce this issue. Take out extraneous plugins, extraneous settings, and so on.

Thanks @ajzafar, I worked it out when I went to start cleaning out my vimrc. I always work in the same saved session file which must have had some thing set that broke the plugin even when I reloaded my vimrc. When I went to edit the vimrc without first loading the session file it worked. Apologies for not picking that up earlier.
thanks for your help.

Glad to help.