mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
Efraim Flashner
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
|