Make the BOM indicator '[BOM]'

also, not-exists symbol has nothing to do with powerline fonts, so fix
that.
This commit is contained in:
Christian Brabandt 2016-02-05 18:19:53 +01:00
parent 89094025c0
commit fdb74f549d
2 changed files with 2 additions and 2 deletions

View File

@ -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)),

View File

@ -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