mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-25 03:02:21 +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
|
endtry
|
||||||
elseif exists('g:loaded_git')
|
elseif exists('g:loaded_git')
|
||||||
try
|
try
|
||||||
let head = git#branch#current()
|
let head = '%{git#branch#current()}'
|
||||||
if g:spacevim_statusline_unicode_symbols == 1
|
if g:spacevim_statusline_unicode_symbols == 1
|
||||||
return empty(l:head) ? '' : ' ' . head . s:gtm_status()
|
return empty(l:head) ? '' : ' ' . head . s:gtm_status()
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user