Skip to content

Commit

Permalink
Directly support the retrobox theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bluz71 committed Mar 9, 2024
1 parent 3667953 commit d4fe98f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autoload/mistfly.vim
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,12 @@ function! s:ColorSchemeModeHighlights() abort
call s:SynthesizeModeHighlight('MistflyVisual', 'GruvboxOrange', 'GruvboxBg0')
call s:SynthesizeModeHighlight('MistflyCommand', 'GruvboxGreen', 'GruvboxBg0')
call s:SynthesizeModeHighlight('MistflyReplace', 'GruvboxRed', 'GruvboxBg0')
elseif g:colors_name == "retrobox"
call s:SynthesizeModeHighlight('MistflyNormal', 'Structure', 'VertSplit')
call s:SynthesizeModeHighlight('MistflyInsert', 'Directory', 'VertSplit')
highlight! link MistflyVisual Visual
call s:SynthesizeModeHighlight('MistflyCommand', 'MoreMsg', 'VertSplit')
highlight! link MistflyReplace ErrorMsg
else
" Fallback for all other colorschemes.
if !hlexists('MistflyNormal') || synIDattr(synIDtrans(hlID('MistflyNormal')), 'bg') == ''
Expand Down

0 comments on commit d4fe98f

Please sign in to comment.