Thursday, April 5, 2012

Re: highlighting spaces

On Apr 5, 2012, at 1:20 PM, Zetah Ghamin wrote:

> I find it convenience to highlight the tab and trailing spaces. So I wrote these line in my .vimrc:

[I know you use Python from another thread.]
If you need this highlighted for Python programming, you can just set
in your .vimrc:

let python_highlight_all = 1

or at least:

let python_space_error_highlight = 1

If you are interested how to do it, you can always look in $VIMRUNTIME/syntax/python.vim and look for python_space_error_highlight to find the regex and "syntax match" commands used for the matching.

Regards,

Zvezdan


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: