Cursormode integrated as extension

This commit is contained in:
Eduardo Suarez-Santana
2017-02-23 17:09:37 +00:00
committed by Christian Brabandt
parent c17ad9a123
commit ebda798080
3 changed files with 137 additions and 0 deletions

View File

@@ -332,6 +332,11 @@ function! airline#extensions#load()
call add(loaded_ext, 'vimtex')
endif
if (get(g:, 'airline#extensions#cursormode#enabled', 1))
call airline#extensions#cursormode#init(s:ext)
call add(loaded_ext, 'cursormode')
endif
if !get(g:, 'airline#extensions#disable_rtp_load', 0)
" load all other extensions, which are not part of the default distribution.
" (autoload/airline/extensions/*.vim outside of our s:script_path).