Is doesn't seem possible to store my patterns in variables for use in syntax
definitions like the following:

let s:mypattern = '#.*'
syn match myPattern s:mypattern

I get 'pattern delimiter not found' and what not.  Is there a way to achieve
this?

The general "problem" I'm trying to solve is having to update patterns in
syntax files when they're used in multiple places and to reduce the line
length of syntax definitions; I've tried using line continuations but
highlighting in the definition file itself seems to fail in this case.

--
Ian Tegebo

Reply via email to