remove support for inactive modified

statuslines don't actually get evaluated in inactive splits, so this feature never worked properly anyways.
This commit is contained in:
Bailey Ling 2013-08-11 16:13:04 -04:00
parent 14dacaab68
commit c7cc63fb62
10 changed files with 3 additions and 25 deletions

View File

@ -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] , '' , '' ] }

View File

@ -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, '', ''],
\ }

View File

@ -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

View File

@ -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] , '', '' ] }

View File

@ -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' , '', '' ]
\ }

View File

@ -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(

View File

@ -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)

View File

@ -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]],

View File

@ -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], '', '']
\ }

View File

@ -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)