janus icon indicating copy to clipboard operation
janus copied to clipboard

Change snipmate to ultisnips

Open kebot opened this issue 12 years ago • 7 comments
trafficstars

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.

kebot avatar Apr 29 '13 15:04 kebot

+1

Have you figured out how to do that manually yet?

FunTimeCoding avatar Jun 09 '13 16:06 FunTimeCoding

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 avatar Jun 09 '13 16:06 FunTimeCoding

@FunTimeCoding

disable vim-snipmate in your ~/.vimrc.before and clone ultisnips in ~/.janus

call janus#disable_plugin('vim-snipmate')

kebot avatar Jun 09 '13 16:06 kebot

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

kebot avatar Jun 09 '13 16:06 kebot

:+1: for https://github.com/SirVer/ultisnips

simonweil avatar Jan 09 '14 21:01 simonweil

+1, ultisnips is better.

dd1994 avatar Oct 10 '14 12:10 dd1994

Issue #603 might be relevant here.

trodrigues avatar Jan 21 '15 17:01 trodrigues