Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Kyle Moffett
On Jun 29, 2007, at 08:49:42, Dmitry Torokhov wrote: On 6/29/07, Michael Tokarev <[EMAIL PROTECTED]> wrote: highlight WhitespaceEOL ctermbg=red guibg=red match WhitespaceEOL /\s\+$/ Works without any glitches here (not "laggy"). But I don't use syntax coloring - never tried if it works with

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Dmitry Torokhov
On 6/29/07, Michael Tokarev <[EMAIL PROTECTED]> wrote: Kyle Moffett wrote: > On Jun 28, 2007, at 03:20:24, Dave Young wrote: >> And for vim trailing space, there's a tip in vim.org: >> http://www.vim.org/tips/tip.php?tip_id=878 > > I actually prefer this (in .vimrc): > > " Show trailing

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Michael Tokarev
Kyle Moffett wrote: > On Jun 28, 2007, at 03:20:24, Dave Young wrote: >> And for vim trailing space, there's a tip in vim.org: >> http://www.vim.org/tips/tip.php?tip_id=878 > > I actually prefer this (in .vimrc): > > " Show trailing whitespace and spaces before tabs > hi link

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Dave Young
On 6/29/07, Björn Steinbrink <[EMAIL PROTECTED]> wrote: On 2007.06.29 01:42:22 -0700, Josh Triplett wrote: > Jan Engelhardt wrote: > > On Jun 29 2007 00:53, Josh Triplett wrote: > >> And if you really want highlighting, you can always use grep --color. :) > > > > Been there, done that, have

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Björn Steinbrink
On 2007.06.29 01:42:22 -0700, Josh Triplett wrote: > Jan Engelhardt wrote: > > On Jun 29 2007 00:53, Josh Triplett wrote: > >> And if you really want highlighting, you can always use grep --color. :) > > > > Been there, done that, have GREP_COLOR env variable defined! > > Same here. Now I just

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Josh Triplett
Jan Engelhardt wrote: > On Jun 29 2007 00:53, Josh Triplett wrote: I actually prefer this (in .vimrc): " Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display au Syntax

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 29 2007 00:53, Josh Triplett wrote: >>> I actually prefer this (in .vimrc): >>> >>> " Show trailing whitespace and spaces before tabs >>> hi link localWhitespaceError Error >>> au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display >>> au Syntax * syn match

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Josh Triplett
Jan Engelhardt wrote: > On Jun 28 2007 23:11, Kyle Moffett wrote: >> I actually prefer this (in .vimrc): >> >> " Show trailing whitespace and spaces before tabs >> hi link localWhitespaceError Error >> au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display >> au Syntax * syn match

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 28 2007 23:11, Kyle Moffett wrote: > I actually prefer this (in .vimrc): > > " Show trailing whitespace and spaces before tabs > hi link localWhitespaceError Error > au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display > au Syntax * syn match localWhitespaceError /

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 28 2007 23:11, Kyle Moffett wrote: I actually prefer this (in .vimrc): Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display au Syntax * syn match localWhitespaceError / \+\ze\t/

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Josh Triplett
Jan Engelhardt wrote: On Jun 28 2007 23:11, Kyle Moffett wrote: I actually prefer this (in .vimrc): Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display au Syntax * syn match

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Jan Engelhardt
On Jun 29 2007 00:53, Josh Triplett wrote: I actually prefer this (in .vimrc): Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display au Syntax * syn match localWhitespaceError / \+\ze\t/

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Josh Triplett
Jan Engelhardt wrote: On Jun 29 2007 00:53, Josh Triplett wrote: I actually prefer this (in .vimrc): Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display au Syntax * syn match

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Björn Steinbrink
On 2007.06.29 01:42:22 -0700, Josh Triplett wrote: Jan Engelhardt wrote: On Jun 29 2007 00:53, Josh Triplett wrote: And if you really want highlighting, you can always use grep --color. :) Been there, done that, have GREP_COLOR env variable defined! Same here. Now I just need to

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Dave Young
On 6/29/07, Björn Steinbrink [EMAIL PROTECTED] wrote: On 2007.06.29 01:42:22 -0700, Josh Triplett wrote: Jan Engelhardt wrote: On Jun 29 2007 00:53, Josh Triplett wrote: And if you really want highlighting, you can always use grep --color. :) Been there, done that, have GREP_COLOR env

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Michael Tokarev
Kyle Moffett wrote: On Jun 28, 2007, at 03:20:24, Dave Young wrote: And for vim trailing space, there's a tip in vim.org: http://www.vim.org/tips/tip.php?tip_id=878 I actually prefer this (in .vimrc): Show trailing whitespace and spaces before tabs hi link localWhitespaceError Error au

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Dmitry Torokhov
On 6/29/07, Michael Tokarev [EMAIL PROTECTED] wrote: Kyle Moffett wrote: On Jun 28, 2007, at 03:20:24, Dave Young wrote: And for vim trailing space, there's a tip in vim.org: http://www.vim.org/tips/tip.php?tip_id=878 I actually prefer this (in .vimrc): Show trailing whitespace and

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Kyle Moffett
On Jun 29, 2007, at 08:49:42, Dmitry Torokhov wrote: On 6/29/07, Michael Tokarev [EMAIL PROTECTED] wrote: highlight WhitespaceEOL ctermbg=red guibg=red match WhitespaceEOL /\s\+$/ Works without any glitches here (not laggy). But I don't use syntax coloring - never tried if it works with