From f430246aff38a11461c007bee5a3fa2af8efa893 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 26 Aug 2017 18:18:45 +0200 Subject: [PATCH] keymap: add missing part from #1546 --- autoload/airline/extensions.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index b76169e..67ec77f 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -300,6 +300,11 @@ function! airline#extensions#load() call add(loaded_ext, 'xkblayout') 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)) call airline#extensions#windowswap#init(s:ext) call add(loaded_ext, 'windowswap')