Shorten mode message for small windows

This commit is contained in:
Christian Brabandt committed 2016-10-20 22:57:26 +02:00
1 parent 64d91665fe
commit 69020706b2
1 file changed
+1 -1
+1 -1
View File
@@ -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()