Dear Vim Wizards,

I've a text which is tagged with an XML/HTML like syntax, like this:

Lorem ipsum <A> dolor sit amet, consectetur adipisicing </A> elit, sed
<B> do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis </B> nostrud exercitation ullamco <D>
laboris nisi ut aliquip <E> ex ea </E> commodo consequat. Duis aute </
D> irure dolor in reprehenderit ...

Now I want vim to highlight the text between <A> and </A> with red,
<B> and </B> with yellow, <D> and </D> with blue and between <E> and </
E> with green.

How would I go about writing a script and/or a syntax file for this?
I've read a little bit around, but I just can't figure this one out.

Thanks in advance!

Adriaan.

-- 
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

Reply via email to