From 85b776daf0aec97ec9cd9bb32911cfaa0a811681 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Fri, 2 Aug 2019 17:21:15 +0200 Subject: [PATCH] [vim] Dim colors and make ALE highlights pretty --- .vim/vimrc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.vim/vimrc b/.vim/vimrc index 0ef2e2a..5209e86 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -29,13 +29,21 @@ set showmatch noremap :bn noremap :bp -" Highlight trailing whitespace (darker red) -highlight WhitespaceEOL ctermbg=124* guibg=#ab0d0d +" Highlight trailing whitespace (darker red) and remove all with Ctrl+k +highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d match WhitespaceEOL /\s\+\%#\@ :let _s=@/:%s/\s\+$//e:let @/=_s +" Much better with Tomorrow Night Bright color theme set in alacritty +set background=light +highlight SignColumn ctermbg=236 + +" ALE colors +highlight ALEWarning ctermbg=Yellow +highlight ALEWarning ctermfg=Black +highlight ALEError ctermbg=DarkRed +highlight ALEError ctermfg=White + " Language indents and line lengths autocmd FileType py,rst,md set textwidth=79 autocmd FileType html set softtabstop=2 shiftwidth=2 omnifunc=htmlcomplete#CompleteTags