Can't get UltiSnips to work (installed by package)

Asked by Salvatore Benedetto

I've downloaded the package.

Unpackit in .vim

Set up my .vimrc as follows (I've commented out all my other settings)

set nocompatible
filetype plugin on
set runtimepath+=~/.vim/UltiSnips-2.2

But I can't get it to work. I browsed some answers and tried "lorem<tab>" and that works.
However when opening a .cpp file :UltiSnipsEdit always open ~/.vim/UltiSnips/all.snippets and not cpp.snippets.
Either entering class<tab> or main<tab> does nothing.

Any help would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
UltiSnips Edit question
Assignee:
No assignee Edit question
Solved by:
SirVer
Solved:
Last query:
Last reply:
Revision history for this message
Best SirVer (sirver) said :
#1

There is one more step. It is not mentioned in the current tarball - a new realease that contains this docu fix will come soonish. In the meantime see:

https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt#L150

sorry for the inconvenience :(

Revision history for this message
Salvatore Benedetto (salvatore-benedetto) said :
#2

Thanks SirVer, that solved my question.