From fdb74f549df6972185daf1fa22fe3647e092b71a Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 5 Feb 2016 18:19:53 +0100 Subject: [PATCH] Make the BOM indicator '[BOM]' also, not-exists symbol has nothing to do with powerline fonts, so fix that. --- autoload/airline/init.vim | 2 +- autoload/airline/parts.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index b10fe752..40244dd6 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -61,7 +61,7 @@ function! airline#init#bootstrap() \ 'whitespace': get(g:, 'airline_powerline_fonts', 0) ? "\u2739" : '!', \ 'linenr': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a1" : ':', \ 'branch': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a0" : '', - \ 'notexists': get(g:, 'airline_powerline_fonts', 0) ? "\u2204" : '', + \ 'notexists': "\u2204", \ 'modified': '+', \ 'space': ' ', \ 'crypt': get(g:, 'airline_crypt_symbol', nr2char(0x1F512)), diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index 9e4dbfa5..cd0a5c67 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%s', &fenc, &l:bomb ? '[B]' : '', strlen(&ff) > 0 ? '['.&ff.']' : '') + return printf('%s%s%s', &fenc, &l:bomb ? '[BOM]' : '', strlen(&ff) > 0 ? '['.&ff.']' : '') endfunction