<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="text/x-scala"> <sub-class-of type="text/plain"/> <comment>Scala source code</comment> <glob pattern="*.scala" /> </mime-type> </mime-info>