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

only call update logo if g:startify_custom_header does not exist

This commit is contained in:
techgaun 2017-05-05 11:07:34 -05:00
parent 95c9bbef8c
commit b80ad1c94c
No known key found for this signature in database
GPG Key ID: 57FB3143221F7B30

View File

@ -22,7 +22,9 @@ fu! s:update_logo()
let g:startify_custom_header = g:_spacevim_welcome_banners[s:NUM.random(0, len(g:_spacevim_welcome_banners))]
endif
endf
call s:update_logo()
if !exists('g:startify_custom_header')
call s:update_logo()
endif
let g:startify_session_dir = $HOME . '/.data/' . ( has('nvim') ? 'nvim' : 'vim' ) . '/session'
let g:startify_files_number = 6
let g:startify_list_order = [