Hi All,

I'm trying to write a syntax file for a grammar called wpm, a
simplified version is over here http://victor.csie.org/tmp/test.wpm .
And the syntax file is http://victor.csie.org/tmp/wpm.vim .

There are one perl code and one javascript.  If you opened test.wpm
with wpm.vim, only the perl code will be highlighted (but not
javascript code).  But if you exchanged the two "syn include" line in
wpm.vim, the javascript code will be hilighted instead of perl code.

Is there any problem in my syntax definition?

Help appreciated.
Victor

Reply via email to