remove deprecated variables

over 2 years is more than enough warning...
This commit is contained in:
Bailey Ling
2016-01-28 09:54:14 -05:00
parent 1d8408a7f8
commit b7a74b1748
5 changed files with 13 additions and 47 deletions

View File

@@ -105,8 +105,7 @@ endfunction
function! airline#extensions#branch#get_head()
let head = airline#extensions#branch#head()
let empty_message = get(g:, 'airline#extensions#branch#empty_message',
\ get(g:, 'airline_branch_empty_message', ''))
let empty_message = get(g:, 'airline#extensions#branch#empty_message', '')
let symbol = get(g:, 'airline#extensions#branch#symbol', g:airline_symbols.branch)
return empty(head)
\ ? empty_message