Make the BOM indicator '[BOM]'
also, not-exists symbol has nothing to do with powerline fonts, so fix that.
This commit is contained in:
parent
89094025c0
commit
fdb74f549d
@ -61,7 +61,7 @@ function! airline#init#bootstrap()
|
|||||||
\ 'whitespace': get(g:, 'airline_powerline_fonts', 0) ? "\u2739" : '!',
|
\ 'whitespace': get(g:, 'airline_powerline_fonts', 0) ? "\u2739" : '!',
|
||||||
\ 'linenr': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a1" : ':',
|
\ 'linenr': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a1" : ':',
|
||||||
\ 'branch': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a0" : '',
|
\ 'branch': get(g:, 'airline_powerline_fonts', 0) ? "\ue0a0" : '',
|
||||||
\ 'notexists': get(g:, 'airline_powerline_fonts', 0) ? "\u2204" : '',
|
\ 'notexists': "\u2204",
|
||||||
\ 'modified': '+',
|
\ 'modified': '+',
|
||||||
\ 'space': ' ',
|
\ 'space': ' ',
|
||||||
\ 'crypt': get(g:, 'airline_crypt_symbol', nr2char(0x1F512)),
|
\ 'crypt': get(g:, 'airline_crypt_symbol', nr2char(0x1F512)),
|
||||||
|
@ -78,6 +78,6 @@ function! airline#parts#filetype()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#parts#ffenc()
|
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
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user