test the layout config for the default extension.

This commit is contained in:
Bailey Ling committed 2013-08-30 22:44:20 -04:00
1 parent e852fb388f
commit d268744077
3 files changed
+26 -1

No files matched your search

+3 -1
View File
@@ -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)