On 04/05/2012 02:20 PM, Zetah Ghamin wrote:
Hi,
I find it convenience to highlight the tab and trailing spaces. So I wrote
these line in my .vimrc:
hi Tab guibg=Blue ctermbg=Blue
hi TrailSpace guibg=Red ctermbg=Red
match Tab /\t\+/
match TrailSpace / \+$/
But only Tabs turn blue, and space looks the same. If I switch the last two
lines, then only tailing spaces turn red.
How come?
-- ZG
here are some methods for highlighting unwanted spaces
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
--
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