Created
January 4, 2017 08:30
-
-
Save syjcnss/2a02c706a992b9e7683228f86479cebe to your computer and use it in GitHub Desktop.
highlight trailing spaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" hight trailing spaces | |
highlight ExtraWhitespace ctermbg=red guibg=red | |
au InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ | |
au InsertLeave * match ExtraWhitespace /\s\+$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment