It actually should not be that hard to get a reasonable syntax highlight. From a look at the Wikipedia page, the language is similar-ish to bash, so if you copy lexer_bash.xml to (for example) lexer_ampl.xml, all you should need to change in the file, is the associated file extension (*.mod ...), and replace the listed keywords with the keywords AMPL uses (data in param set var ...).