Shorten mode message for small windows
This commit is contained in:
parent
64d91665fe
commit
69020706b2
@ -53,7 +53,7 @@ endfunction
|
|||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
function! airline#parts#mode()
|
function! airline#parts#mode()
|
||||||
return get(w:, 'airline_current_mode', '')
|
return airline#util#shorten(get(w:, 'airline_current_mode', ''), 79, 1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#parts#crypt()
|
function! airline#parts#crypt()
|
||||||
|
Loading…
Reference in New Issue
Block a user