commit
3e1f8c8343
|
@ -136,6 +136,9 @@ function! airline#update_highlight()
|
|||
if &paste
|
||||
call add(l:mode, 'paste')
|
||||
endif
|
||||
if l:m ==# "R"
|
||||
call add(l:mode, 'replace')
|
||||
endif
|
||||
if &previewwindow
|
||||
call add(l:mode, 'preview')
|
||||
endif
|
||||
|
|
|
@ -32,6 +32,14 @@ let g:airline#themes#badwolf#insert_modified = {
|
|||
\ 'info_separator' : [ '#005fff' , '#45413b' , 27 , 238 , 'bold' ] ,
|
||||
\ 'statusline' : [ '#ffa724' , '#45413b' , 214 , 238 , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#badwolf#insert_paste = {
|
||||
\ 'mode': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] ,
|
||||
\ 'mode_separator': [ '#d78700' , s:I2[1] , 172 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#badwolf#insert_replace = {
|
||||
\ 'mode': [ s:I2[0] , '#ff0000' , s:I2[2] , 196 , '' ] ,
|
||||
\ 'mode_separator': [ '#ff0000' , s:I2[1] , 196 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
|
||||
let s:V1 = [ '#141413' , '#ffa724' , 232 , 214 ]
|
||||
let s:V2 = [ '#000000' , '#fade3e' , 16 , 221 ]
|
||||
|
|
|
@ -29,6 +29,14 @@ let g:airline#themes#dark#insert_modified = {
|
|||
\ 'info_separator': [ '#005fff' , '#5f005f' , 27 , 53 , '' ] ,
|
||||
\ 'statusline': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#dark#insert_paste = {
|
||||
\ 'mode': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] ,
|
||||
\ 'mode_separator': [ '#d78700' , s:I2[1] , 172 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#dark#insert_replace = {
|
||||
\ 'mode': [ s:I2[0] , '#af0000' , s:I2[2] , 124 , '' ] ,
|
||||
\ 'mode_separator': [ '#af0000' , s:I2[1] , 124 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
|
||||
let s:V1 = [ '#000000' , '#ffaf00' , 232 , 214 ]
|
||||
let s:V2 = [ '#000000' , '#ff5f00' , 232 , 202 ]
|
||||
|
|
|
@ -29,6 +29,14 @@ let g:airline#themes#light#insert_modified = {
|
|||
\ 'info_separator': [ '#00df87' , '#ffdfdf' , 42 , 224 , '' ] ,
|
||||
\ 'statusline': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#light#insert_paste = {
|
||||
\ 'mode': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] ,
|
||||
\ 'mode_separator': [ '#d78700' , s:I2[1] , 172 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#light#insert_replace = {
|
||||
\ 'mode': [ s:I2[0] , '#ff0000' , s:I1[2] , 196 , '' ] ,
|
||||
\ 'mode_separator': [ '#ff0000' , s:I2[1] , 196 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
|
||||
let s:V1 = [ '#ffffff' , '#ff5f00' , 255 , 202 ]
|
||||
let s:V2 = [ '#5f0000' , '#ffaf00' , 52 , 214 ]
|
||||
|
|
|
@ -67,6 +67,14 @@ let g:airline#themes#simple#insert = {
|
|||
\ '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)
|
||||
let g:airline#themes#simple#insert_paste = {
|
||||
\ 'mode': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] ,
|
||||
\ 'mode_separator': [ '#d78700' , s:I2[1] , 172 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#simple#insert_replace = {
|
||||
\ 'mode': [ s:I1[0] , '#af0000' , s:I1[2] , 124 , '' ] ,
|
||||
\ 'mode_separator': [ '#af0000' , s:I2[1] , 124 , s:I2[3] , '' ] ,
|
||||
\ }
|
||||
|
||||
let s:V1 = s:swap ? [ s:guibg, '#dfdf00' , s:termbg , 184 ] : [ '#dfdf00' , s:guibg, 184 , s:termbg ]
|
||||
let s:V2 = [ '#ff5f00' , s:guibg, 202 , s:termbg ]
|
||||
|
|
Loading…
Reference in New Issue