On Mon, Feb 21, 2011 at 8:03 PM, Ben Schmidt <mail_ben_schmidt@yahoo.com.au> wrote:
Sure, that will work perfectly. -- Or, for a more comprehensive solution, see my earlier post with syntaxIt seems it's not easy to find a simple way to match all the case.
Maybe use following is fine, it will give false warning if use write 2 statements
in the same line .
autocmd BufEnter *.c match Grp_semi /if\s*(.\+)\s*;/
highlight Grp_semi guibg=red
rules. :-)
Ben.
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