mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
Ref issue #6
This commit is contained in:
parent
9213827354
commit
6e4f6f9ce8
@ -42,6 +42,10 @@ endfunction
|
||||
|
||||
function! SpaceVim#loadCustomConfig() abort
|
||||
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)
|
||||
exe 'source ' . custom_confs[0]
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user