Skip to content

Commit

Permalink
Merge pull request #78 from ikalnytskyi/hybrid-modified-color
Browse files Browse the repository at this point in the history
hybrid: do not use any colors for modified state
  • Loading branch information
chrisbra committed Mar 15, 2017
2 parents 9eb53e1 + b037e25 commit 793ce66
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions autoload/airline/themes/hybrid.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ function! airline#themes#hybrid#refresh()
let s:N2 = airline#themes#get_highlight('CursorLine')
let s:N3 = airline#themes#get_highlight('PMenu')
let g:airline#themes#hybrid#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)

let modified_group = airline#themes#get_highlight2(['Text', 'fg'], ['SpellRare', 'bg'], 'bold')
let g:airline#themes#hybrid#palette.normal_modified = {
\ 'airline_c': airline#themes#get_highlight2(['Text', 'fg'], ['SpellRare', 'bg'], 'bold')
\ }
let g:airline#themes#hybrid#palette.normal_modified = {}

let warning_group = airline#themes#get_highlight('SpellRare')
let g:airline#themes#hybrid#palette.normal.airline_warning = warning_group
Expand Down Expand Up @@ -45,9 +41,7 @@ function! airline#themes#hybrid#refresh()

let s:IA = airline#themes#get_highlight('StatusLineNC')
let g:airline#themes#hybrid#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#hybrid#palette.inactive_modified = {
\ 'airline_c': [ modified_group[0], '', modified_group[2], '', '' ]
\ }
let g:airline#themes#hybrid#palette.inactive_modified = g:airline#themes#hybrid#palette.normal_modified

let g:airline#themes#hybrid#palette.accents = {
\ 'red': airline#themes#get_highlight('Constant'),
Expand Down

0 comments on commit 793ce66

Please sign in to comment.