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