projects/guix·blob python-team · refs

8 lines · 439 B

1" This appends all applicable vim paths to the end of packagepath. Once we
2" have told vim the packagepath vim will add it to the runtimepath for us.
3for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $HOME ."/.guix-home/profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT]
4 let vimplugins = directory . "/share/vim/vimfiles"
5 if isdirectory(vimplugins)
6 let &pp = join([&pp,vimplugins], ',')
7 endif
8endfor