This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-10-16 09:15:11 +00:00
|
|
|
" This appends all applicable vim paths to the end of packagepath. Once we
|
|
|
|
" have told vim the packagepath vim will add it to the runtimepath for us.
|
2022-02-16 07:57:40 +00:00
|
|
|
for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $HOME ."/.guix-home/profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT]
|
2020-09-18 15:25:06 +00:00
|
|
|
let vimplugins = directory . "/share/vim/vimfiles"
|
|
|
|
if isdirectory(vimplugins)
|
2023-10-16 09:15:11 +00:00
|
|
|
let &pp = join([&pp,vimplugins], ',')
|
2020-09-18 15:25:06 +00:00
|
|
|
endif
|
|
|
|
endfor
|