vim/color avoid redfg on redbg

This commit is contained in:
Mathieu Maret 2021-10-14 14:25:18 +02:00
parent 10463e3c66
commit a4d8ef9380
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@
" color palette " color palette
"set t_Co=256 "set t_Co=256
" syntax highlighting when the terminal has colors " syntax highlighting when the terminal has colors
"
" You can display all the possible usage with ":hi"
if &t_Co > 2 || has("gui_running") if &t_Co > 2 || has("gui_running")
syntax on syntax on
" my colors " my colors
@ -88,6 +91,8 @@ endif
highlight! ErrorMsg ctermfg=Red ctermbg=Black highlight! ErrorMsg ctermfg=Red ctermbg=Black
endif endif
hi SpellBad ctermbg=None ctermfg=Red cterm=underline
" to be used with set colorcolumn=81 " to be used with set colorcolumn=81
highlight ColorColumn ctermbg=236 highlight ColorColumn ctermbg=236
highlight ALEError ctermbg=DarkMagenta cterm=bold highlight ALEError ctermbg=DarkMagenta cterm=bold