keymap: add missing part from #1546
This commit is contained in:
parent
57cda93aad
commit
f430246aff
|
@ -300,6 +300,11 @@ function! airline#extensions#load()
|
||||||
call add(loaded_ext, 'xkblayout')
|
call add(loaded_ext, 'xkblayout')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if (get(g:, 'airline#extensions#keymap#enabled', 1) && has('keymap'))
|
||||||
|
call airline#extensions#keymap#init(s:ext)
|
||||||
|
call add(loaded_ext, 'keymap')
|
||||||
|
endif
|
||||||
|
|
||||||
if (get(g:, 'airline#extensions#windowswap#enabled', 1) && get(g:, 'loaded_windowswap', 0))
|
if (get(g:, 'airline#extensions#windowswap#enabled', 1) && get(g:, 'loaded_windowswap', 0))
|
||||||
call airline#extensions#windowswap#init(s:ext)
|
call airline#extensions#windowswap#init(s:ext)
|
||||||
call add(loaded_ext, 'windowswap')
|
call add(loaded_ext, 'windowswap')
|
||||||
|
|
Loading…
Reference in New Issue