From c9f717f9e7e32fe1ddf516c3e45c59dde102645e Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Mon, 15 Jul 2013 23:09:41 -0400 Subject: [PATCH] add inactive modified theme support to the rest of the themes (except powerlineish). --- autoload/airline/themes/badwolf.vim | 2 ++ autoload/airline/themes/laederon.vim | 5 +++-- autoload/airline/themes/solarized.vim | 3 +++ autoload/airline/themes/ubaryd.vim | 3 +++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/autoload/airline/themes/badwolf.vim b/autoload/airline/themes/badwolf.vim index 82cd766..6d3dc56 100644 --- a/autoload/airline/themes/badwolf.vim +++ b/autoload/airline/themes/badwolf.vim @@ -49,3 +49,5 @@ 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/laederon.vim b/autoload/airline/themes/laederon.vim index 977cf89..8c99997 100644 --- a/autoload/airline/themes/laederon.vim +++ b/autoload/airline/themes/laederon.vim @@ -34,8 +34,6 @@ let g:airline#themes#laederon#normal_modified = { \ 'info' : [ s:N2[0] , s:N4[0] , s:N2[2] , s:N4[1] , '' ] , \ 'info_separator' : [ s:N4[0] , s:N2[1] , s:N4[1] , s:N2[3] , 'bold' ] , \ 'statusline' : [ s:V1[1] , s:N2[1] , s:V1[3] , s:N2[3] , '' ] } -let g:airline#themes#laederon#inactive = { - \ 'mode' : [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , '' ] } let g:airline#themes#laederon#insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file) @@ -58,4 +56,7 @@ let g:airline#themes#laederon#visual_modified = { \ 'info_separator' : [ s:V2[1] , s:V4[0] , s:V2[3] , s:V4[1] , 'bold' ] , \ 'statusline' : [ s:V3[0] , s:V4[0] , s:V3[2] , s:V4[1] , '' ] } + 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/solarized.vim b/autoload/airline/themes/solarized.vim index c32c4f5..3811bf2 100644 --- a/autoload/airline/themes/solarized.vim +++ b/autoload/airline/themes/solarized.vim @@ -123,6 +123,9 @@ let g:airline#themes#solarized#inactive = airline#themes#generate_color_map( \ [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 e428ec9..d79f573 100644 --- a/autoload/airline/themes/ubaryd.vim +++ b/autoload/airline/themes/ubaryd.vim @@ -59,3 +59,6 @@ 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], '', ''] + \ }