Add bomb indicator to the encoding section.

This commit is contained in:
Christian Brabandt 2016-02-05 11:31:07 +01:00
parent b2bf331d6b
commit 42b59a05bf
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@ function! airline#parts#filetype()
endfunction endfunction
function! airline#parts#ffenc() 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 endfunction