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
--
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:
Post a Comment