aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/aux-files/guix.vim
blob: 7dc359e52b3d76f37f29e37253f88abe826408c8 (plain)
1
2
3
4
5
6
7
" This appends all of the vim plugins to the end of Vim's runtimepath.
for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT]
    let vimplugins = directory . "/share/vim/vimfiles"
    if isdirectory(vimplugins)
        let &rtp = join([&rtp,vimplugins], ',')
    endif
endfor