" Vim color scheme
"
" Name:         rbdr.vim
" Maintainer:   Rubén Beltrán del Río <ben@nsovocal.com>
" Last Change:  11 Apr 2019
" License:      public domain
" Version:      1.0
"
" 256 color scheme using (almost) CGA colors

set background=dark
hi clear
if exists("syntax_on")
   syntax reset
endif

let g:colors_name = "rbdr"

hi Normal guifg=#FFFFFF guibg=#000000
hi Comment guifg=#AAAAAA
hi Cursor guifg=#232323   guibg=#FFFF00
hi LineNr          guifg=#000000 guibg=#FFFFFF
hi NonText         guifg=#555555 guibg=none
hi SpecialKey      guifg=#555555

hi Boolean guifg=#FF00FF
hi Character guifg=#FFFF00
hi Number guifg=#FF00FF
hi String guifg=#00FF00
hi Conditional guifg=#FF0000 gui=bold cterm=bold
hi Constant guifg=#FFFF00
hi Debug guifg=#FF77A8 gui=bold cterm=bold

hi Define guifg=#FF0000 gui=italic cterm=italic
hi Delimiter guifg=#00FF00

hi diffAdded guifg=#00FF00
hi diffRemoved guifg=#FF00FF
hi diffFile guifg=#00FFFF
hi gitCommitDiff guifg=#FFFFFF
hi diffIndexLine guifg=#FFFF00
hi diffLine guifg=#FF0000

hi DiffAdd guifg=#00FF00 guibg=#232323
hi DiffDelete guifg=#FF00FF guibg=#232323
hi DiffChange guifg=#AAAAAA guibg=#555555
hi DiffText guibg=#555555 gui=italic,bold cterm=italic,bold

hi link @text.diff.add DiffAdd
hi link @text.diff.delete DiffDelete

hi Directory guifg=#00FF00 gui=bold
hi Error guifg=#FFFFFF guibg=#FF0000
hi ErrorMsg guifg=#FFFFFF guibg=#FF0000 gui=bold cterm=bold
hi Exception guifg=#00FF00
hi Float guifg=#FF00FF
hi FoldColumn guifg=#555555 guibg=#232323
hi Folded guifg=#555555 guibg=#232323
hi Function guifg=#1E90FF
hi Identifier guifg=#FFFF00
hi Ignore guifg=#AAAAAA guibg=bg
hi IncSearch guifg=#FFFF00 guibg=#232323

hi Keyword guifg=#FF0000 gui=bold,italic cterm=bold,italic
hi Label guifg=#FFFF00 gui=none cterm=none
hi Macro guifg=#FFFF00 gui=bold,italic cterm=bold,italic
hi SpecialKey guifg=#00FFFF gui=italic cterm=italic

hi MatchParen guifg=#232323 guibg=#FFFF00 gui=bold cterm=bold
hi ModeMsg guifg=#FFFF00
hi MoreMsg guifg=#FFFF00
hi Operator guifg=#FF0000

" complete menu
hi Pmenu guifg=#00FFFF guibg=#232323
hi PmenuSel guibg=#555555
hi PmenuSbar guibg=#080808
hi PmenuThumb guifg=#00FFFF

hi PreCondit guifg=#00FF00 gui=bold cterm=bold
hi PreProc guifg=#A6E22E
hi Question guifg=#00FFFF
hi Repeat guifg=#FF0000 gui=bold cterm=bold
hi Search guibg=#FFFF55 guifg=#555555

hi SignColumn guifg=#00FF00 guibg=#232323
hi SpecialChar guifg=#FF0000 gui=bold cterm=bold
hi SpecialComment guifg=#AAAAAA gui=bold cterm=bold
hi Special guifg=#00FFFF guibg=bg gui=italic cterm=italic

hi Statement guifg=#FF0000 gui=bold cterm=bold
hi StatusLine guifg=#FFFFFF guibg=#000000
hi StatusLineNC guifg=#000000 guibg=#FFFFFF
hi StorageClass guifg=#FF0000 gui=italic cterm=italic
hi Structure guifg=#00FFFF
hi Tag guifg=#FF0000 gui=italic cterm=italic
hi Title guifg=#1E90FF
hi Todo guifg=#FFFFFF guibg=bg gui=bold cterm=bold

hi Type guifg=#00FFFF gui=none cterm=none
hi Typedef guifg=#00FFFF
hi Underlined guifg=#AAAAAA gui=underline cterm=underline

hi Include guifg=#FFFF00 gui=none cterm=none

hi VertSplit       guifg=#000000 guibg=#FFFFFF gui=bold cterm=bold
hi VisualNOS                     guibg=#555555
hi Visual                        guibg=#555555
hi WarningMsg      guifg=#FFFFFF guibg=#555555 gui=bold cterm=bold
hi WildMenu        guifg=#00FFFF guibg=#000000
hi CursorLine      guibg=#555555
hi ColorColumn     guifg=#FFFFFF guibg=#FF0000