mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-22 17:48:27 +08:00
Cursormode integrated as extension
This commit is contained in:
committed by
Christian Brabandt
parent
c17ad9a123
commit
ebda798080
@@ -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