Add bomb indicator to the encoding section.
This commit is contained in:
parent
b2bf331d6b
commit
42b59a05bf
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue