1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:50:06 +08:00

Add extra space after branch name (#3456)

This commit is contained in:
Wang Shidong 2020-04-18 16:59:47 +08:00 committed by GitHub
parent 5ebbec752f
commit e663ae20d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,9 @@ function! s:git_branch() abort
let l:head = fugitive#head()
endif
if g:spacevim_statusline_unicode_symbols == 1
return empty(l:head) ? '' : '  '.l:head . s:gtm_status()
return empty(l:head) ? '' : '  '.l:head . ' ' . s:gtm_status()
else
return empty(l:head) ? '' : ' '.l:head . s:gtm_status()
return empty(l:head) ? '' : ' '.l:head . ' ' . s:gtm_status()
endif
catch
endtry