Re: Using variables in syntax definitions

2007-04-10 Thread Ian Tegebo
On 4/10/07, Peter Hodge <[EMAIL PROTECTED]> wrote: Hello, You'll probably need to use 'execute': execute 'syn match myPattern' s:mypattern but again, highlighting won't work for you then. I see what you're talking about in the syntax files like rst, c, sql, and gdb. I wonder how hard it wou

Re: Using variables in syntax definitions

2007-04-10 Thread Peter Hodge
Hello, You'll probably need to use 'execute': execute 'syn match myPattern' s:mypattern but again, highlighting won't work for you then. regards, Peter --- Ian Tegebo <[EMAIL PROTECTED]> wrote: > Is doesn't seem possible to store my patterns in variables for use in syntax > definitions