Could you please add OpenCL C to the MIME database? OpenCL C is mostly based on C99. File-ending: .cl
See the HACKING file in the sources for how to request new mime-types.
Please follow the instructions at: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING#n31 for mime-type additions.
Created attachment 130058 [details] [review] patch to add OpenCL mime-type
Created attachment 130059 [details] [review] patch v2, added missing hunks
Is there no better mime-type than "text/x-openclsrc" ?
Well, suggestions welcome. I made that name up. The naming scheme is adopted from "x-c++src", etc., seems consistent to me.
Stupid spammer...
I used text/x-opencl-src instead, to make it readable. commit 4ab969c398671c519a10a601ad3eeb46f04361de Author: Kevin Funk <kfunk@kde.org> Date: Sat Mar 4 01:22:00 2017 +0100 Add OpenCL mime-type https://bugs.freedesktop.org/show_bug.cgi?id=26913
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.