hyper-red.vim (2961B)
1 " Hyper Red 2 " TODO handle tCo less than 16 case 3 " TODO handle light theme 4 " Probably use a autogroup for handling tCo count change 5 " Do it in lua 6 if &background == "dark" 7 hi! ColorColumn guifg=White ctermfg=White guibg=DarkGray ctermbg=DarkGray 8 hi! Folded guifg=LightBlue ctermfg=LightBlue guibg=NONE ctermbg=NONE cterm=bold 9 hi! FoldColumn guifg=LightBlue ctermfg=LightBlue guibg=NONE ctermbg=NONE cterm=bold 10 hi! DiffChange guifg=LightYellow ctermfg=LightYellow guibg=NONE ctermbg=NONE cterm=NONE 11 hi! DiffText guifg=DarkBlue ctermfg=DarkYellow guibg=LightYellow ctermbg=LightYellow cterm=bold 12 hi! DiffAdd guibg=NONE ctermbg=NONE guifg=LightGreen ctermfg=LightGreen 13 hi! DiffDelete guifg=DarkRed ctermfg=DarkRed guibg=NONE ctermbg=NONE 14 hi! LineNr guibg=NONE ctermbg=NONE guifg=DarkGray ctermfg=DarkGray 15 hi! CursorLineNr cterm=NONE gui=NONE guibg=NONE ctermbg=NONE guifg=White ctermfg=White 16 hi! StatusLineNC guibg=LightGray ctermbg=LightGray guifg=Black ctermfg=Black 17 hi! Statement ctermfg=NONE guifg=NONE 18 hi! Constant ctermfg=LightBlue guifg=LightBlue 19 hi! Error ctermbg=NONE guibg=NONE ctermfg=DarkRed guifg=DarkRed 20 hi! String ctermfg=DarkGray guifg=DarkGray 21 hi! Special cterm=NONE ctermfg=LightMagenta guifg=NONE 22 hi! Identifier ctermfg=White guifg=White 23 hi! IncSearch ctermbg=Black ctermfg=Yellow guibg=Black guifg=Yellow 24 hi! Search ctermbg=LightBlue ctermfg=Black guibg=DarkGray guifg=Black 25 hi! Todo cterm=underline ctermbg=NONE ctermfg=LightYellow guibg=NONE guifg=LightYellow 26 hi! Comment ctermfg=DarkGray guifg=DarkGray 27 hi! Visual ctermbg=White ctermfg=Black guibg=White guifg=Black 28 hi! Type ctermfg=LightGray guifg=LightGray 29 hi! PreProc ctermfg=LightGray guifg=LightGray 30 hi! MatchParen ctermbg=NONE cterm=underline ctermfg=LightMagenta 31 hi! ExtraWhitespace ctermbg=DarkRed guibg=DarkRed 32 else 33 hi! LineNr cterm=NONE gui=NONE guibg=NONE ctermbg=NONE guifg=DarkGray ctermfg=DarkGray 34 hi! StatusLineNC guibg=Black ctermbg=Black guifg=White ctermfg=White 35 hi! Statement ctermfg=Red guifg=Red 36 hi! Constant ctermfg=Green guifg=Green 37 hi! String ctermfg=DarkBlue guifg=DarkBlue 38 hi! Special cterm=bold ctermfg=DarkMagenta guifg=DarkMagenta 39 hi! Identifier ctermfg=Black guifg=Black 40 hi! IncSearch ctermbg=Black ctermfg=Yellow guibg=Black guifg=Yellow 41 hi! Search ctermbg=Blue ctermfg=White guibg=Blue guifg=White 42 hi! Todo cterm=underline,bold ctermbg=NONE ctermfg=Yellow guibg=NONE guifg=Yellow 43 hi! Comment ctermfg=DarkGray guifg=DarkGray 44 hi! Visual ctermbg=Black ctermfg=white guibg=Black guifg=white 45 hi! Type ctermfg=Black guifg=Black 46 hi! PreProc ctermfg=DarkGray guifg=DarkGray 47 hi! MatchParen guibg=NONE ctermbg=NONE gui=underline cterm=underline guifg=DarkMagenta ctermfg=DarkMagenta 48 endif 49 if has('fillchars') 50 set fillchars=vert:\│ 51 endif 52 set listchars=eol:$,tab:>\ 53 hi! VertSplit term=NONE cterm=NONE gui=NONE 54 hi! SignColumn ctermbg=NONE guibg=NONE 55 56 if (&t_Co == 8) 57 hi! Comment ctermfg=NONE 58 endif 59 match ExtraWhitespace /\s\+$/