1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:10:07 +08:00

Merge branch 'dev' of github.com:SpaceVim/SpaceVim into dev

This commit is contained in:
wsdjeg 2017-01-09 21:49:03 +08:00
commit f1273239b8

View File

@ -140,9 +140,16 @@ function! SpaceVim#loadCustomConfig() abort
if filereadable(custom_glob_conf)
exe 'source ' . custom_glob_conf
endif
if isdirectory(expand('~/.SpaceVim.d/'))
set runtimepath^=~/.SpaceVim.d
endif
if !empty(custom_confs)
exe 'source ' . custom_confs[0]
endif
if isdirectory('.SpaceVim.d')
exe 'set rtp ^=' . expand('.SpaceVim.d')
endif
endfunction
""