From 42b59a05bf34b124e99206dca2a7725a0228ef69 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 5 Feb 2016 11:31:07 +0100 Subject: [PATCH] Add bomb indicator to the encoding section. --- autoload/airline/parts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index 498eaed..9e4dbfa 100644 --- a/autoload/airline/parts.vim +++ b/autoload/airline/parts.vim @@ -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