fix inactive color highlight, make the separators visible in the simple theme
This commit is contained in:
parent
392e331ab5
commit
0db74ea089
@ -1,13 +1,15 @@
|
||||
let s:bg = 233
|
||||
let s:sepc = 236
|
||||
let s:sepg = '#303030'
|
||||
|
||||
let s:N1 = [ '#00dfff' , '#080808' , 45 , s:bg ]
|
||||
let s:N2 = [ '#ff5f00' , '#080808' , 202 , s:bg ]
|
||||
let s:N3 = [ '#767676' , '#080808' , 243 , s:bg ]
|
||||
let g:airline#themes#simple#normal = {
|
||||
\ 'mode': [ s:N1[0] , s:N1[1] , s:N1[2] , s:N1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:N1[1] , s:N2[1] , s:N1[3] , s:N2[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:sepg , s:N2[1] , s:sepc , s:N2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:N2[0] , s:N2[1] , s:N2[2] , s:N2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , 'bold' ] ,
|
||||
\ 'info_separator': [ s:sepg , s:N3[1] , s:sepc , s:N3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:N3[0] , s:N3[1] , s:N3[2] , s:N3[3] , '' ] ,
|
||||
\ 'file': [ '#ff0000' , '#080808' , 160 , s:bg , '' ] ,
|
||||
\ 'inactive': [ '#4e4e4e' , '#080808' , 239 , s:bg , '' ] ,
|
||||
@ -21,9 +23,9 @@ let s:I2 = [ '#ff5f00' , '#080808' , 202 , s:bg ]
|
||||
let s:I3 = [ '#767676' , '#080808' , 243 , s:bg ]
|
||||
let g:airline#themes#simple#insert = {
|
||||
\ 'mode': [ s:I1[0] , s:I1[1] , s:I1[2] , s:I1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:I1[1] , s:I2[1] , s:I1[3] , s:I2[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:sepg , s:I2[1] , s:sepc , s:I2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:I2[0] , s:I2[1] , s:I2[2] , s:I2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:I2[1] , s:I3[1] , s:I2[3] , s:I3[3] , 'bold' ] ,
|
||||
\ 'info_separator': [ s:sepg , s:I3[1] , s:sepc , s:I3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:I3[0] , s:I3[1] , s:I3[2] , s:I3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#simple#insert_modified = copy(g:airline#themes#simple#normal_modified)
|
||||
@ -33,9 +35,9 @@ let s:V2 = [ '#ff5f00' , '#080808' , 202 , s:bg ]
|
||||
let s:V3 = [ '#767676' , '#080808' , 243 , s:bg ]
|
||||
let g:airline#themes#simple#visual = {
|
||||
\ 'mode': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:V1[1] , s:V2[1] , s:V1[3] , s:V2[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:sepg , s:V2[1] , s:sepc , s:V2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:V2[0] , s:V2[1] , s:V2[2] , s:V2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:V2[1] , s:V3[1] , s:V2[3] , s:V3[3] , 'bold' ] ,
|
||||
\ 'info_separator': [ s:sepg , s:V3[1] , s:sepc , s:V3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:V3[0] , s:V3[1] , s:V3[2] , s:V3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#simple#visual_modified = copy(g:airline#themes#simple#normal_modified)
|
||||
|
@ -109,7 +109,7 @@ function! s:update_statusline(active)
|
||||
let sl = l:mode_color
|
||||
let sl.= a:active
|
||||
\ ? '%{AirlineUpdateHighlight()} '.g:airline_section_a.' '.l:mode_sep_color
|
||||
\ : ' %9*'
|
||||
\ : ' %#Al9#'
|
||||
let sl.='%{g:airline_left_sep}'.l:info_color
|
||||
let sl.=' '.g:airline_section_b.' '
|
||||
let sl.=l:info_sep_color.g:airline_left_sep
|
||||
|
Loading…
Reference in New Issue
Block a user