Mercurial > repos > other > linux
view mime-extra.xml @ 101:845e08259ab0
Syntax highlighting strings in PHP/HTML is complicated!
Still has problems with colouring mixed HTML strings and object functions
but this seems unavoidable with the regexes we have without losing
colouring elsewhere
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 02 Apr 2018 20:17:48 +0100 |
parents | a05dade2a2fa |
children | 513dbd770bef |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/pkcs8"> <comment xml:lang="en">PKCS8 key</comment> <magic priority="50"> <match type="string" value="-----BEGIN PRIVATE KEY-----" offset="0"/> </magic> <glob pattern="*.key"/> </mime-type> <mime-type type="application/x-gpl"> <comment xml:lang="en">GIMP Palette</comment> <magic priority="50"> <match type="string" value="GIMP Palette" offset="0"/> </magic> <glob pattern="*.gpl"/> </mime-type> <mime-type type="application/x-rrd"> <comment xml:lang="en">Round-Robin Database</comment> <magic priority="50"> <match type="string" value="RRD\00003" offset="0"/> </magic> <glob pattern="*.rrd"/> </mime-type> <mime-type type="application/x-keepass"> <comment xml:lang="en">Keepass Database</comment> <glob pattern="*.kdb"/> </mime-type> <mime-type type="application/x-keepassx"> <comment xml:lang="en">KeepassX Database</comment> <glob pattern="*.kdbx"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">ReadMe</comment> <glob pattern="README"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">ReadMe</comment> <glob pattern="README.txt"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">ReadMe</comment> <glob pattern="README.md"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">Contribution instructions</comment> <glob pattern="CONTRIBUTION"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">Contribution instructions</comment> <glob pattern="CONTRIBUTING.txt"/> </mime-type> <mime-type type="text/x-readme"> <comment xml:lang="en">Contribution instructions</comment> <glob pattern="CONTRIBUTING.md"/> </mime-type> <mime-type type="text/x-todo"> <comment xml:lang="en">To Do list</comment> <glob pattern="TODO"/> </mime-type> <mime-type type="text/x-todo"> <comment xml:lang="en">To Do list</comment> <glob pattern="TODO.txt"/> </mime-type> <mime-type type="text/x-todo"> <comment xml:lang="en">To Do list</comment> <glob pattern="TODO.md"/> </mime-type> <mime-type type="text/x-changelog"> <comment xml:lang="en">ChangeLog document</comment> <glob pattern="CHANGELOG.txt"/> </mime-type> <mime-type type="text/x-changelog"> <comment xml:lang="en">ChangeLog document</comment> <glob pattern="CHANGELOG.md"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="*LICENCE"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="*LICENCE.txt"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="*LICENCE.md"/> </mime-type> <!-- Include the verb version as well, for typo coverage --> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="*LICENSE"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="*LICENSE.txt"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="COPYING.GPL"/> </mime-type> <mime-type type="text/x-copying"> <comment xml:lang="en">licence terms</comment> <glob pattern="COPYING.LGPL"/> </mime-type> <mime-type type="text/x-authors"> <comment xml:lang="en">Project authors</comment> <glob pattern="AUTHORS"/> </mime-type> <mime-type type="text/x-authors"> <comment xml:lang="en">Project authors</comment> <glob pattern="AUTHORS.txt"/> </mime-type> <mime-type type="text/x-authors"> <comment xml:lang="en">Project authors</comment> <glob pattern="AUTHORS.md"/> </mime-type> <mime-type type="text/x-config"> <comment xml:lang="en">Configuration file</comment> <glob pattern="*.cfg"/> </mime-type> <mime-type type="text/x-config"> <comment xml:lang="en">Configuration file</comment> <glob pattern="*.conf"/> </mime-type> <mime-type type="text/x-config"> <comment xml:lang="en">Configuration file</comment> <glob pattern="*.config"/> </mime-type> <mime-type type="text/x-meson"> <comment xml:lang="en">Meson build</comment> <glob pattern="meson.build"/> </mime-type> <mime-type type="text/x-sbt"> <comment xml:lang="en">Scala built tool configuration</comment> <glob pattern="*.sbt"/> </mime-type> </mime-info>