On Fri, 20 May 2005 18:01:04 +0900 Georgi Georgiev wrote: | > | %.1 : %.in | > | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION),g" $? > $@ | > | | > | The first "@" is span.Special and the second one is span.Constant. | > | > Hrm, that's a vim thing (I'm using a vim script to do the | > highlighting at compile time, it's not manual). If someone enjoys | > pain they could have a go at making vim's automake highlighting | > smarter... Don't think I'm brave enough to touch that one myself. | | The 2html.vim that comes with vim seems to work fine here. Tried both | 7__ and 6.3. The HTML is ugly, but at least it's properly highlighted: | | http://gg3.net/~chutz/gentoo/highlight/ | | Of course, you need to "set ft=automake", which is different than | ft=make. ;) That's only working because you're indenting using spaces rather than tabs. If you indent using tabs you'll get the mixed colouring. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm