Updated the installation doc correctly this time.
This commit is contained in:
parent
57e08fbe87
commit
da776e37b5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user