1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Update branch name via job (#3280)

This commit is contained in:
Wang Shidong 2020-01-04 16:46:40 +08:00 committed by GitHub
parent 41f2e6e0d3
commit 1f928ad156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ function! s:git_branch() abort
endtry
elseif exists('g:loaded_git')
try
let head = git#branch#current()
let head = '%{git#branch#current()}'
if g:spacevim_statusline_unicode_symbols == 1
return empty(l:head) ? '' : '  ' . head . s:gtm_status()
else