From a4d8ef93808a3750e68266bdbfd917ca664dd8a9 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Thu, 14 Oct 2021 14:25:18 +0200 Subject: [PATCH] vim/color avoid redfg on redbg --- .vim/colors/mycolor.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vim/colors/mycolor.vim b/.vim/colors/mycolor.vim index bca25d0..036da33 100644 --- a/.vim/colors/mycolor.vim +++ b/.vim/colors/mycolor.vim @@ -4,6 +4,9 @@ " color palette "set t_Co=256 " syntax highlighting when the terminal has colors +" +" You can display all the possible usage with ":hi" + if &t_Co > 2 || has("gui_running") syntax on " my colors @@ -88,6 +91,8 @@ endif highlight! ErrorMsg ctermfg=Red ctermbg=Black endif + +hi SpellBad ctermbg=None ctermfg=Red cterm=underline " to be used with set colorcolumn=81 highlight ColorColumn ctermbg=236 highlight ALEError ctermbg=DarkMagenta cterm=bold