Home
Phabricator
Search
Log In
Files
F10046218
shared-mime-info.patch
igorkushnir (Igor Kushnir)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Author
igorkushnir
Created
Oct 11 2021, 12:22 PM
Size
932 B
Mime Type
text/x-diff
Engine
blob
Format
Raw Data
Handle
6393334
Attached To
D15532: [Astyle] Add Objective C to list of languages with formatters
shared-mime-info.patch
View Options
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 294e83f..76e66bf 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -6381,6 +6381,12 @@ command to generate the output files.
</magic>
<glob pattern="*.m"/>
</mime-type>
+ <mime-type type="text/x-objc++src">
+ <comment>Objective-C++ source code</comment>
+ <sub-class-of type="text/x-c++src"/>
+ <sub-class-of type="text/x-objcsrc"/>
+ <glob pattern="*.mm"/>
+ </mime-type>
<mime-type type="text/x-ocaml">
<comment>OCaml source code</comment>
<glob pattern="*.ml"/>
@@ -6631,7 +6637,7 @@ command to generate the output files.
</mime-type>
<mime-type type="text/x-troff-mm">
<comment>Troff MM input document</comment>
- <sub-class-of type="text/plain"/>
+ <sub-class-of type="text/troff"/>
<glob pattern="*.mm"/>
</mime-type>
<mime-type type="text/x-troff-ms">
Log In to Comment