janus
janus copied to clipboard
Change snipmate to ultisnips
Change to: http://github.com/MarcWeber/ultisnips
Updated snipmate-snippets reference to vim-snippets
Says the snipmate-snippets has change it's name because it support a better snipmate engine called ultisnips.
After install and disable snipmate, I found it more powerful.
IMPORTANT: comment on: What about merging whith Ultisnip using its engine status: snipmate-snippet files are read by Ultisnip flawlessly. See snipmate-snippets readme about how to configure and use Ultisnips as alternative That branch also supports completion menu now Thus there is only one reason left to keep using snipmate from my point of view: not having python support. In other words: upstream of snipmate is almost dead. (Better to say Marc Weber is not going to fix any bugs anymore)
-- https://github.com/garbas/vim-snipmate
The snipmate project also suggest change to ultisnips.
+1
Have you figured out how to do that manually yet?
I made it work this way: .vimrc.before: call janus#disable_plugin('snipmate') call janus#disable_plugin('supertab') call janus#disable_plugin('vim-snippets')
.vimrc.after: let g:UltiSnipsSnippetsDir = '~/.dotfiles/vim/snippets'
..but it wont work for all languages yet, because there are certain overrides in other vim plugins - I guess html and markdown are affected.
@FunTimeCoding
disable vim-snipmate in your ~/.vimrc.before and clone ultisnips in ~/.janus
call janus#disable_plugin('vim-snipmate')
The syntax of ultisnips and vim-snipmate is different.
the SirVer's project is more stable than MarcWeber's fork, you can try this and define your snippets in ultisnips' syntax
https://github.com/SirVer/ultisnips
:+1: for https://github.com/SirVer/ultisnips
+1, ultisnips is better.
Issue #603 might be relevant here.