mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-08-15 04:11:02 +08:00
Make the BOM indicator '[BOM]'
also, not-exists symbol has nothing to do with powerline fonts, so fix that.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user