~ruther/guix-local

ref: cfc5ec77a72d4e4d04d4e93aa8dee8462baa2cf7 guix-local/gnu/packages/aux-files/guix.vim -rw-r--r-- 439 bytes
cfc5ec77 — Hugo Buddelmeijer gnu: guile-2.2.4: Fix build by using libxcrypt-without-failure-tokens. 9 months ago
                                                                                
1
2
3
4
5
6
7
8
" 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.
for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $HOME ."/.guix-home/profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT]
    let vimplugins = directory . "/share/vim/vimfiles"
    if isdirectory(vimplugins)
        let &pp = join([&pp,vimplugins], ',')
    endif
endfor