parent
571f892fcd
commit
81f089322a
@ -8,7 +8,11 @@ if !has('keymap')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
function! airline#extensions#keymap#status()
|
function! airline#extensions#keymap#status()
|
||||||
|
if (get(g:, 'airline#extensions#keymap#enabled', 1) && has('keymap'))
|
||||||
return printf('%s', (!empty(&keymap) ? (g:airline_symbols.keymap . ' '. &keymap) : ''))
|
return printf('%s', (!empty(&keymap) ? (g:airline_symbols.keymap . ' '. &keymap) : ''))
|
||||||
|
else
|
||||||
|
return ''
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#keymap#init(ext)
|
function! airline#extensions#keymap#init(ext)
|
||||||
|
Loading…
Reference in New Issue
Block a user