From 9f193de600395812cb674ad639472b11517c29c9 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 24 Apr 2019 15:51:43 +0200 Subject: [PATCH] branch: Remove spurious dirty var --- autoload/airline/extensions/branch.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 71d36ad5..579c88ae 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -279,7 +279,6 @@ function! airline#extensions#branch#get_head() let minwidth = empty(get(b:, 'airline_hunks', '')) ? 14 : 7 let head = airline#util#shorten(head, winwidth, minwidth) let symbol = get(g:, 'airline#extensions#branch#symbol', g:airline_symbols.branch) - let dirty = get(b:, 'airline_branch_dirty', '') return empty(head) \ ? get(g:, 'airline#extensions#branch#empty_message', '') \ : printf('%s%s', empty(symbol) ? '' : symbol.(g:airline_symbols.space), head)