Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown function: snipMate#TriggerSnippet #269

Closed
code4pay opened this issue Aug 1, 2018 · 7 comments
Closed

Unknown function: snipMate#TriggerSnippet #269

code4pay opened this issue Aug 1, 2018 · 7 comments

Comments

@code4pay
Copy link

code4pay commented Aug 1, 2018

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

@ajzafar
Copy link
Collaborator

ajzafar commented Aug 17, 2018

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

@ajzafar
Copy link
Collaborator

ajzafar commented Aug 18, 2018

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

@code4pay
Copy link
Author

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()                                                    

@code4pay
Copy link
Author

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

@ajzafar
Copy link
Collaborator

ajzafar commented Sep 2, 2018

@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.

@code4pay
Copy link
Author

code4pay commented Sep 3, 2018

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.

@ajzafar
Copy link
Collaborator

ajzafar commented Sep 3, 2018

Glad to help.

@ajzafar ajzafar closed this as completed Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants