~ruther/guix-local

ref: 6a31fb6e7b2bc6daba973d440ea4480d57ee6597 guix-local/gnu/packages/aux-files/guix.vim -rw-r--r-- 625 bytes
6a31fb6e — Konrad Hinsen gnu: snakemake-6: Convert dependencies to propagated-inputs 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
" This appends all of the vim plugins to the end of Vim's runtimepath.
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 &rtp = join([&rtp,vimplugins], ',')
    endif
endfor
" Unconditionally add */after directories last, as intended by upstream
" TODO: Remove duplicate */after directories
for directory in [$VIM . "/vimfiles", $HOME ."/.vim"]
    let vimplugins = directory . "/after"
    let &rtp = join([&rtp,vimplugins], ',')
endfor