## Here is an example for xml files. ## syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|mei|musicxml)$" color white "^.+$" color green start="<" end=">" color cyan "<[^> ]+" color cyan ">" color yellow start="" color yellow start="" color red "&[^;]*;" ## Trailing spaces color ,green "[[:space:]]+$"