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:
parent
41f2e6e0d3
commit
1f928ad156
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user