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

Change snipmate to ultisnips #528

Open
kebot opened this issue Apr 29, 2013 · 7 comments
Open

Change snipmate to ultisnips #528

kebot opened this issue Apr 29, 2013 · 7 comments

Comments

@kebot
Copy link

kebot commented Apr 29, 2013

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.

@FunTimeCoding
Copy link

+1

Have you figured out how to do that manually yet?

@FunTimeCoding
Copy link

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.

@kebot
Copy link
Author

kebot commented Jun 9, 2013

@FunTimeCoding

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

call janus#disable_plugin('vim-snipmate')

@kebot
Copy link
Author

kebot commented Jun 9, 2013

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

@simonweil
Copy link

@dd1994
Copy link

dd1994 commented Oct 10, 2014

+1, ultisnips is better.

@trodrigues
Copy link

Issue #603 might be relevant here.

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

5 participants