Hi Andrew,

On Fri, Aug 13, 2010 at 1:21 PM, Christian Brabandt <cbli...@256bit.org> wrote:
> Hi Andrew!
>
> On Fr, 13 Aug 2010, Andrew Long wrote:
>
>> Are they declared as 'syntax keyword'?
Yes they are.
>> 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.
>

Could you give an example on how you worked around it with syntax
match and syntax region?

Rgds,
Jeri

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