3
0
Fork 0
forked from mirrors/nixpkgs

Fix the Vim Plugins Documentation

This commit is contained in:
Lysergia 2014-11-30 17:12:32 -05:00
parent 304b71bf64
commit eb7f8666f2

View file

@ -17,8 +17,8 @@ assembles your profile for you.
Vim offers the :h rtp setting which works for most plugins. Thus adding adding
this to your .vimrc should make most plugins work:
set rtp+=~/.nix-profile/vim-plugins/youcompleteme
" or for p in ["youcompleteme"] | exec 'set rtp+=~/.nix-profile/vim-plugins/'.p | endfor
set rtp+=~/.nix-profile/share/vim-plugins/youcompleteme
" or for p in ["youcompleteme"] | exec 'set rtp+=~/.nix-profile/share/vim-plugins/'.p | endfor
Its what pathogen, vundle, vim-addon-manager (VAM) and others use.
Learn about some differences by visiting http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html.