From: Sergey Matveev Date: Mon, 2 Sep 2019 09:28:29 +0000 (+0300) Subject: Highlight all trailing extra whitespaces X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=bb89ba6b30836733f4454d5b398ed2f41f936167 Highlight all trailing extra whitespaces --- diff --git a/vim/.vimrc b/vim/.vimrc index af68bd1..97f506d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -38,7 +38,7 @@ set cursorline set cursorcolumn set colorcolumn=80 highlight ExtraWhitespace ctermbg=green ctermfg=blue -match ExtraWhitespace /^\s*$/ +match ExtraWhitespace /\s\+$/ set relativenumber set numberwidth=3