Merge pull request #992 from chrisbra/bomb_indicator

Add Bomb indicator
This commit is contained in:
Christian Brabandt 2016-02-05 11:41:57 +01:00
commit 89094025c0
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@ function! airline#parts#filetype()
endfunction
function! airline#parts#ffenc()
return printf('%s%s', &fenc, strlen(&ff) > 0 ? '['.&ff.']' : '')
return printf('%s%s%s', &fenc, &l:bomb ? '[B]' : '', strlen(&ff) > 0 ? '['.&ff.']' : '')
endfunction