Hi Andrew!

On Fr, 13 Aug 2010, Andrew Long wrote:

> Are they declared as 'syntax keyword'? If so, I think that trumps any
> attempt to redefine them as regions/matches/etc. I had that problem
> when writing a syntax file for another language; declaring keywords
> highlights them unconditionally, irrespective of context, and prevents
> their use in higher level semantic contexts. In the end I got rid of
> all keywords and declared everything with syntax match' and 'syntax
> region'.

Yes, see :h :syn-priority for the priority how syntax items match.


regards,
Christian

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