Hi.
I'm using the vim-snippets plugin and it contains quite a lot of (to me) unneeded JavaScript snippet sets. Can I disable some sets like the jquery ones?
I opened a ticket for this in that repo but was directed here.
@Industrial: Either create file with corresponding name with clearsnippets directive in it or copy-and-paste only snippets that you want to use into ~/.vim/UltiSnips/ directory.
I'm having a similar issue with vim-snippets, but it's the _snipMate_ snippets I'd like to turn off/override (the snipMate Python snippets are mostly low-quality versions of the UltiSnips ones).
clearsnippets isn't valid in snipMate snippets and adding a file with the same name doesn't appear to work.
Am I missing something?
@deanishe: Just disable snipMate completely by adding g:UltiSnipsEnableSnipMate = 0 to your .vimrc;
Thanks for the speedy reply.
I don't want to disable _all_ the snipMate snippets, just the Python ones. Is that possible?
@deanishe: You can try to disable/enable snipMate in realtime by using autocommand for specific filetype, but I'm not sure if it works or not.
@seletskiy: Thanks very much. I'll give that a try.
Maybe it would be nice to be able to ignore snipmate snippets if there is a ultisnips version for the file.
Closing as answered.