mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-24 15:49:29 +08:00
Merge pull request #992 from chrisbra/bomb_indicator
Add Bomb indicator
This commit is contained in:
commit
89094025c0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user