mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-21 09:08:25 +08:00
test the layout config for the default extension.
This commit is contained in:
@@ -27,7 +27,9 @@ function! airline#extensions#branch#get_head()
|
||||
endif
|
||||
endif
|
||||
|
||||
return empty(head) ? s:empty_message : s:symbol.' '.head
|
||||
return empty(head)
|
||||
\ ? s:empty_message
|
||||
\ : printf('%s%s', empty(s:symbol) ? '' : s:symbol.' ', head)
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#branch#init(ext)
|
||||
|
||||
Reference in New Issue
Block a user