1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00
This commit is contained in:
wsdjeg 2016-12-29 19:44:21 +08:00
parent 9213827354
commit 6e4f6f9ce8

View File

@ -42,6 +42,10 @@ endfunction
function! SpaceVim#loadCustomConfig() abort function! SpaceVim#loadCustomConfig() abort
let custom_confs = SpaceVim#util#globpath(getcwd(), '.local.vim') let custom_confs = SpaceVim#util#globpath(getcwd(), '.local.vim')
let custom_glob_conf = expand('~/.local.vim')
if filereadable(custom_glob_conf)
exe 'source ' . custom_glob_conf
endif
if !empty(custom_confs) if !empty(custom_confs)
exe 'source ' . custom_confs[0] exe 'source ' . custom_confs[0]
endif endif