keymap: fix the style
This commit is contained in:
parent
89e484ac59
commit
57cda93aad
@ -1,4 +1,5 @@
|
||||
" MIT License. Copyright (c) 2017 Doron Behar.
|
||||
" MIT License. Copyright (c) 2013-2017 Doron Behar, C.Brabandt
|
||||
" vim: et ts=2 sts=2 sw=2
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
@ -7,12 +8,7 @@ if !has('keymap')
|
||||
endif
|
||||
|
||||
function! airline#extensions#keymap#status()
|
||||
if &keymap != ''
|
||||
let s:keymap2print = g:airline_symbols.keymap . ' ' . &keymap
|
||||
else
|
||||
let s:keymap2print = ''
|
||||
endif
|
||||
return printf('%s', s:keymap2print)
|
||||
return ('%s', (&keymap ? (g:airline_symbols.keymap . ' '. &keymap) : ''))
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#keymap#init(ext)
|
||||
|
Loading…
Reference in New Issue
Block a user