mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 08:08:54 +08:00
Merge pull request #1298 from chrisbra/shorten_mode
Shorten mode message for small windows
This commit is contained in:
commit
5fe511c20b
1 file changed
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user