keymap: add missing part from #1546

This commit is contained in:
Christian Brabandt 2017-08-26 18:18:45 +02:00
parent 57cda93aad
commit f430246aff
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 5 additions and 0 deletions

View File

@ -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')