Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change snipmate to ultisnips #528

Open
kebot opened this Issue · 7 comments

5 participants

Keith Yao Alexander Reitzel Simon Weil JIANG Di Tiago Rodrigues
Keith Yao

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.

Alexander Reitzel

+1

Have you figured out how to do that manually yet?

Alexander Reitzel

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.

Keith Yao

@FunTimeCoding

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

call janus#disable_plugin('vim-snipmate')
Keith Yao

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

JIANG Di

+1, ultisnips is better.

Tiago Rodrigues

Issue #603 might be relevant here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.