From b34aa78c5ae10232e640ad8014f0289497c6305e Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sat, 24 Aug 2013 22:24:36 -0400 Subject: [PATCH] deprecate airline_detect_iminsert --- autoload/airline/extensions.vim | 2 +- plugin/airline.vim | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index 3d2d5ab..ab9e107 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -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 diff --git a/plugin/airline.vim b/plugin/airline.vim index 2b5310c..ca66691 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -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)?' ':':')