mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-09-20 02:03:12 +08:00
Cursormode integrated as extension
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user