commit 833a2df99170bac8d519df840d636da54701c201
parent 7e1625159f7b76e0d8aa9cde168af677c3d70a04
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/vimrc b/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