Using two mode files for a single file type, e.g., MySQL
Submitted by Tuesday, 10 October, 2006 - 15:25
on
Keyword highlighting is controlled by mode files specified in the file "catalog". For example:
The MySQL keywords are specified in the mode file mysql.xml, and the standard SQL keywords are in tsql.xml. So when editing a MySQL file (*.sql), I want to have the MySQL and SQL keywords highlighted:
But only the second one listed takes the fact,as if it overrides the previous one. How do I get both sets of keywords to be highlighted (short of manually jamming the two files into one, which surely can't be the best solution)?