Updated the installation doc correctly this time.

This commit is contained in:
Holger Rapp 2012-10-23 19:14:00 +02:00
parent 57e08fbe87
commit da776e37b5

View File

@ -140,11 +140,11 @@ Then add this directory to your Vim runtime path by adding this line to your
vimrc file. > vimrc file. >
set runtimepath+=~/.vim/ultisnips_rep set runtimepath+=~/.vim/ultisnips_rep
UltiSnips also needs that Vim sources files from the after/ directory. UltiSnips also needs that Vim sources files from the ftdetect/ directory.
Unfortunately, vim only allows this in the home directory. You therefore have Unfortunately, Vim only allows this directory in the .vim directory. You
to symlink/copy the files from after: > therefore have to symlink/copy the files: >
mkdir -p ~/.vim/after/plugin/ mkdir -p ~/.vim/ftdetect/
ln -s ~/.vim/ultisnips_rep/after/plugin/* ~/.vim/after/plugin/ ln -s ~/.vim/ultisnips_rep/ftdetect/* ~/.vim/ftdetect/
Restart Vim and UltiSnips should work. To access the help, use > Restart Vim and UltiSnips should work. To access the help, use >
:helptags ~/.vim/ultisnips_rep/doc :helptags ~/.vim/ultisnips_rep/doc