if !empty($GUIX_VIMRUNTIME) set rtp+=$GUIX_VIMRUNTIME endif " 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