mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
Fix wrong warn message
This commit is contained in:
parent
211fcf6793
commit
cee6d00859
@ -73,7 +73,7 @@ function! s:write_to_config(config) abort
|
||||
let g:_spacevim_global_config_path = global_dir . 'init.toml'
|
||||
let cf = global_dir . 'init.toml'
|
||||
if filereadable(cf)
|
||||
call SpaceVim#logger#warn('Failed to generate config file, it is not readable: ' . cf)
|
||||
call SpaceVim#logger#warn('The file already exists:' . cf)
|
||||
return
|
||||
endif
|
||||
let dir = expand(fnamemodify(cf, ':p:h'))
|
||||
|
Loading…
Reference in New Issue
Block a user