Hi All,

I'm trying to write a syntax file for a grammar called wpm, a simplified version is attached as test.apm in the attachment.   And the syntax file is 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

Attachment: test.wpm
Description: Binary data

Attachment: wpm.vim
Description: Binary data

Reply via email to