From c7cc63fb621114244afe94cc018a975065601e08 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 11 Aug 2013 16:13:04 -0400 Subject: [PATCH] remove support for inactive modified statuslines don't actually get evaluated in inactive splits, so this feature never worked properly anyways. --- autoload/airline/themes/badwolf.vim | 2 -- autoload/airline/themes/bubblegum.vim | 3 --- autoload/airline/themes/dark.vim | 3 --- autoload/airline/themes/laederon.vim | 3 +-- autoload/airline/themes/light.vim | 3 --- autoload/airline/themes/luna.vim | 4 +--- autoload/airline/themes/simple.vim | 1 - autoload/airline/themes/solarized.vim | 3 --- autoload/airline/themes/ubaryd.vim | 4 +--- autoload/airline/themes/wombat.vim | 2 -- 10 files changed, 3 insertions(+), 25 deletions(-) diff --git a/autoload/airline/themes/badwolf.vim b/autoload/airline/themes/badwolf.vim index a7a5fcb..c41c261 100644 --- a/autoload/airline/themes/badwolf.vim +++ b/autoload/airline/themes/badwolf.vim @@ -49,6 +49,4 @@ let g:airline#themes#badwolf#visual_modified = { let g:airline#themes#badwolf#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#badwolf#inactive_modified = { - \ 'statusline' : [ s:V1[1] , '' , s:V1[3] , '' , '' ] } diff --git a/autoload/airline/themes/bubblegum.vim b/autoload/airline/themes/bubblegum.vim index 865edee..8bd9dd8 100644 --- a/autoload/airline/themes/bubblegum.vim +++ b/autoload/airline/themes/bubblegum.vim @@ -58,7 +58,4 @@ let g:airline#themes#bubblegum#visual_modified = copy(g:airline#themes#bubblegum " Inactive window let s:IA = [s:gui_dark_gray, s:gui_med_gray_hi, s:cterm_dark_gray, s:cterm_med_gray_hi, ''] let g:airline#themes#bubblegum#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#bubblegum#inactive_modified = { - \ 'statusline': [s:gui_orange, '', s:cterm_orange, '', ''], - \ } diff --git a/autoload/airline/themes/dark.vim b/autoload/airline/themes/dark.vim index 079bbd5..af60414 100644 --- a/autoload/airline/themes/dark.vim +++ b/autoload/airline/themes/dark.vim @@ -81,9 +81,6 @@ let g:airline#themes#dark#visual_modified = { let s:IA = [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] let g:airline#themes#dark#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#dark#inactive_modified = { - \ 'statusline': [ '#5f005f' , '' , '53' , '' , '' ] , - \ } " Here we define the color map for ctrlp. We check for the g:loaded_ctrlp diff --git a/autoload/airline/themes/laederon.vim b/autoload/airline/themes/laederon.vim index 9c7ddec..8e18177 100644 --- a/autoload/airline/themes/laederon.vim +++ b/autoload/airline/themes/laederon.vim @@ -58,5 +58,4 @@ let g:airline#themes#laederon#visual_modified = { let g:airline#themes#laederon#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#laederon#inactive_modified = { - \ 'statusline' : [ s:V1[1] , '', s:V1[3] , '', '' ] } + diff --git a/autoload/airline/themes/light.vim b/autoload/airline/themes/light.vim index 4f4786f..46450f4 100644 --- a/autoload/airline/themes/light.vim +++ b/autoload/airline/themes/light.vim @@ -41,7 +41,4 @@ let g:airline#themes#light#visual_modified = { let s:IA = [ '#9e9e9e' , '#ffffff' , 247 , 255 , '' ] let g:airline#themes#light#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#light#inactive_modified = { - \ 'statusline': [ '#df0000' , '' , '160' , '', '' ] - \ } diff --git a/autoload/airline/themes/luna.vim b/autoload/airline/themes/luna.vim index 38f7e02..63da2d2 100644 --- a/autoload/airline/themes/luna.vim +++ b/autoload/airline/themes/luna.vim @@ -44,9 +44,7 @@ let g:airline#themes#luna#visual_modified = { let s:IA = [ '#4e4e4e' , '#002b2b' , 59 , 23 , '' ] let g:airline#themes#luna#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#luna#inactive_modified = { - \ 'statusline': [ '#f88379' , '' , '210' , '' , '' ] , - \ } + if get(g:, 'loaded_ctrlp', 0) let g:airline#themes#luna#ctrlp = airline#extensions#ctrlp#generate_color_map( diff --git a/autoload/airline/themes/simple.vim b/autoload/airline/themes/simple.vim index 23631c7..c7c44e0 100644 --- a/autoload/airline/themes/simple.vim +++ b/autoload/airline/themes/simple.vim @@ -98,5 +98,4 @@ let g:airline#themes#simple#visual_modified = copy(g:airline#themes#simple#norma let s:IA = [ '#4e4e4e' , s:guibg , 239 , s:termbg , '' ] let g:airline#themes#simple#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#simple#inactive_modified = copy(g:airline#themes#simple#normal_modified) diff --git a/autoload/airline/themes/solarized.vim b/autoload/airline/themes/solarized.vim index 720b02a..3b90ccb 100644 --- a/autoload/airline/themes/solarized.vim +++ b/autoload/airline/themes/solarized.vim @@ -125,9 +125,6 @@ function! s:generate() \ [s:IA[0].g, s:IA[1].g, s:IA[0].t, s:IA[1].t, s:IA[2]], \ s:NFa) - let g:airline#themes#solarized#inactive_modified = { - \ 'statusline': [s:NM.statusline[0].g, '', s:NM.statusline[0].t, '', ''] } - let g:airline#themes#solarized#normal = airline#themes#generate_color_map( \ [s:N1[0].g, s:N1[1].g, s:N1[0].t, s:N1[1].t, s:N1[2]], \ [s:N2[0].g, s:N2[1].g, s:N2[0].t, s:N2[1].t, s:N2[2]], diff --git a/autoload/airline/themes/ubaryd.vim b/autoload/airline/themes/ubaryd.vim index a0add82..608a2f5 100644 --- a/autoload/airline/themes/ubaryd.vim +++ b/autoload/airline/themes/ubaryd.vim @@ -59,6 +59,4 @@ let g:airline#themes#ubaryd#visual_modified = { \ 'statusline' : [ s:V3[0] , s:V4[0] , s:V3[2] , s:V4[1] , '' ] } let g:airline#themes#ubaryd#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#ubaryd#inactive_modified = { - \ 'statusline' : [ s:V1[1] , '', s:V1[3], '', ''] - \ } + diff --git a/autoload/airline/themes/wombat.vim b/autoload/airline/themes/wombat.vim index 623e1c2..860ccc6 100644 --- a/autoload/airline/themes/wombat.vim +++ b/autoload/airline/themes/wombat.vim @@ -84,8 +84,6 @@ let g:airline#themes#wombat#insert_paste = { let g:airline#themes#wombat#inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file) -let g:airline#themes#wombat#inactive_modified = { - \ 'statusline' : [ '#BCBCBC' , '' , 250 , '' , '' ] } if get(g:, 'loaded_ctrlp', 0)