commit d9a75db6ebb5481ff05961a57f7a8f969c87dea8
parent 439ad04af13bc4afc313ea6c2e6d611745b57bfd
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 1 Oct 2021 18:41:33 -0700
Update SpaceHi settings
Apply SpaceHi to .cpp files, not just .cc files.
Eliminate g:spacehi_nbspcolor, which is no longer a setting (and perhaps
never was).
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -81,7 +81,6 @@ au FileType python setl ts=2 sw=2 sts=2 et
" Configure whitespace highlighting.
let g:spacehi_spacecolor="ctermbg=red guibg=red"
let g:spacehi_tabcolor="ctermbg=red guibg=red"
-let g:spacehi_nbspcolor="ctermbg=red guibg=red"
" Configure tag file locations.
set tags+=~/.local/tags/system.tags
@@ -214,7 +213,7 @@ if &t_Co > 2
au BufEnter,InsertLeave *.java,*.m,*.mm set textwidth=100
" Highlight trailing space
- au BufEnter,InsertLeave *.bzl,*.c,*.cc,*.cs,*.dart,*.h,*.java,*.m,*.mm,*.py,*.s SpaceHi
+ au BufEnter,InsertLeave *.bzl,*.c,*.cc,*.cpp,*.cs,*.dart,*.h,*.java,*.m,*.mm,*.py,*.s SpaceHi
endif
endif