mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-03-03 23:05:26 +08:00
Merge pull request #19 from etanol/master
Better fix for lucius selected tab problem
This commit is contained in:
commit
13bad30d4e
@ -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], '', '' ]
|
||||
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user