From fdc02107c6758c4371cc071c70c74cd39396d386 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 16 Jul 2013 02:40:08 +0000 Subject: [PATCH] add inactive modified support to dark, light, simple. resolves #59. --- autoload/airline/themes/dark.vim | 3 +++ autoload/airline/themes/light.vim | 3 +++ autoload/airline/themes/simple.vim | 1 + 3 files changed, 7 insertions(+) diff --git a/autoload/airline/themes/dark.vim b/autoload/airline/themes/dark.vim index cb1be5f..ce1e7a7 100644 --- a/autoload/airline/themes/dark.vim +++ b/autoload/airline/themes/dark.vim @@ -41,4 +41,7 @@ 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' , '' , '' ] , + \ } diff --git a/autoload/airline/themes/light.vim b/autoload/airline/themes/light.vim index cec7bee..f730f80 100644 --- a/autoload/airline/themes/light.vim +++ b/autoload/airline/themes/light.vim @@ -42,3 +42,6 @@ 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/simple.vim b/autoload/airline/themes/simple.vim index 3ae595d..460665a 100644 --- a/autoload/airline/themes/simple.vim +++ b/autoload/airline/themes/simple.vim @@ -98,4 +98,5 @@ 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)