XML syntax highlighting
Pavel Roskin
proski at gnu.org
Fri Jan 11 05:52:36 UTC 2002
Hello!
> These two lines should come to file syntax/Syntax:
> ----------------------------------------------------------------------------
> -
> file ..\*\\.(xml|XML|xsd|xsl|xslt|dtd)$ XML\sdocument
> (xml\sversion|DOCTYPE\s)
> include xml.syntax
> ----------------------------------------------------------------------------
I improved this to include all uppercase extensions and to require "?" and
"!" before "xml version" and "DOCTYPE" respectively:
file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
include xml.syntax
> and the "xml.syntax" file is attached (gzipped)
Applied. Thank you!
--
Regards,
Pavel Roskin
More information about the mc-devel
mailing list