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

fix undefined variable for g:_spacevim_config_path

This commit is contained in:
RedLotus 2018-06-06 10:19:28 +08:00
parent d300d1ed71
commit 90f489a341

View File

@ -87,7 +87,8 @@ function! SpaceVim#commands#config(...) abort
exe 'tabnew' g:_spacevim_config_path exe 'tabnew' g:_spacevim_config_path
endif endif
else else
if g:spacevim_force_global_config if g:spacevim_force_global_config ||
\ get(g:, '_spacevim_config_path', '0') ==# '0'
exe 'tabnew' g:_spacevim_global_config_path exe 'tabnew' g:_spacevim_global_config_path
else else
exe 'tabnew' g:_spacevim_config_path exe 'tabnew' g:_spacevim_config_path