Skip to content

Commit

Permalink
Merge pull request #19 from etanol/master
Browse files Browse the repository at this point in the history
Better fix for lucius selected tab problem
  • Loading branch information
chrisbra committed Feb 24, 2016
2 parents 6b5de8d + dc476a0 commit 13bad30
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion autoload/airline/themes/lucius.vim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function! airline#themes#lucius#refresh()
let g:airline#themes#lucius#palette.visual.airline_warning = g:airline#themes#lucius#palette.normal.airline_warning
let g:airline#themes#lucius#palette.visual_modified.airline_warning = g:airline#themes#lucius#palette.normal_modified.airline_warning

let s:IA = airline#themes#get_highlight('CursorLine')
let s:IA = airline#themes#get_highlight('StatusLineNC')
let g:airline#themes#lucius#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#lucius#palette.inactive_modified = {
\ 'airline_c': [ modified_group[0], '', modified_group[2], '', '' ]
Expand All @@ -50,6 +50,12 @@ function! airline#themes#lucius#refresh()
\ 'red': airline#themes#get_highlight('Constant'),
\ }

" Extra tabline colors
let s:TS = airline#themes#get_highlight('TabLineSel')
let g:airline#themes#lucius#palette.tabline = {}
let g:airline#themes#lucius#palette.tabline.airline_tabsel = s:TS
let g:airline#themes#lucius#palette.tabline.airline_tabsel_right = s:TS

endfunction

call airline#themes#lucius#refresh()
Expand Down

0 comments on commit 13bad30

Please sign in to comment.