mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 20:54:26 +08:00
Shorten mode message for small windows
This commit is contained in:
@@ -53,7 +53,7 @@ endfunction
|
||||
" }}}
|
||||
|
||||
function! airline#parts#mode()
|
||||
return get(w:, 'airline_current_mode', '')
|
||||
return airline#util#shorten(get(w:, 'airline_current_mode', ''), 79, 1)
|
||||
endfunction
|
||||
|
||||
function! airline#parts#crypt()
|
||||
|
||||
Reference in New Issue
Block a user