mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-11 12:47:44 +08:00
deprecate airline_detect_iminsert
This commit is contained in:
parent
c517f9c6f9
commit
b34aa78c5a
|
@ -180,7 +180,7 @@ function! airline#extensions#load()
|
|||
call airline#extensions#paste#init()
|
||||
endif
|
||||
|
||||
if g:airline_detect_iminsert
|
||||
if get(g:, 'airline#extensions#iminsert#enabled', 0) || get(g:, 'airline_detect_iminsert', 0)
|
||||
call airline#extensions#iminsert#init()
|
||||
endif
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ call s:check_defined('g:airline_left_sep', get(g:, 'airline_powerline_fonts', 0)
|
|||
call s:check_defined('g:airline_left_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
||||
call s:check_defined('g:airline_right_sep', get(g:, 'airline_powerline_fonts', 0)?"":"<")
|
||||
call s:check_defined('g:airline_right_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":"<")
|
||||
call s:check_defined('g:airline_detect_iminsert', 0)
|
||||
call s:check_defined('g:airline_detect_modified', 1)
|
||||
call s:check_defined('g:airline_detect_paste', 1)
|
||||
call s:check_defined('g:airline_linecolumn_prefix', get(g:, 'airline_powerline_fonts', 0)?' ':':')
|
||||
|
|
Loading…
Reference in New Issue
Block a user