Re: [OT] Vim highlighting for trailing spaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Friday, June 29, 2007 - 5:49 am

On 6/29/07, Michael Tokarev <mjt@tls.msk.ru> wrote:

That only highlights whitespace at the end of the lines. You might
want to use pattern below to also highlight "tab after space" in the
middle of the line:

:highlight RedundantSpaces ctermbg=red guibg=red
:match RedundantSpaces /\s\+$\| \+\ze\t/

-- 
Dmitry
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[OT] Vim highlighting for trailing spaces, Kyle Moffett, (Thu Jun 28, 8:11 pm)
Re: [OT] Vim highlighting for trailing spaces, Jan Engelhardt, (Fri Jun 29, 12:39 am)
Re: [OT] Vim highlighting for trailing spaces, Josh Triplett, (Fri Jun 29, 12:53 am)
Re: [OT] Vim highlighting for trailing spaces, Jan Engelhardt, (Fri Jun 29, 1:01 am)
Re: [OT] Vim highlighting for trailing spaces, Josh Triplett, (Fri Jun 29, 1:42 am)
Re: [OT] Vim highlighting for trailing spaces, Björn, (Fri Jun 29, 2:21 am)
Re: [OT] Vim highlighting for trailing spaces, Dave Young, (Fri Jun 29, 2:26 am)
Re: [OT] Vim highlighting for trailing spaces, Michael Tokarev, (Fri Jun 29, 5:40 am)
Re: [OT] Vim highlighting for trailing spaces, Dmitry Torokhov, (Fri Jun 29, 5:49 am)
Re: [OT] Vim highlighting for trailing spaces, Kyle Moffett, (Fri Jun 29, 5:00 pm)