File standardml.xml of Package mosml
<?xml version="1.0" encoding="utf-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="text/x-sml">
<sub-class-of type="text/plain"/>
<comment>Standard ML source code</comment>
<glob pattern="*.sml"/>
</mime-type>
</mime-info>