mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
53b51b44fd
* gnu/packages/vim.scm (vim)[arguments]: Add new 'install-guix.vim phase to install vendor specific vimrc. * gnu/packages/aux-files/guix.vim: New file. * Makefile.am (AUX_FILES): Register it.
7 lines
331 B
VimL
7 lines
331 B
VimL
" 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
|