Could you please add OpenCL C to the MIME database?
OpenCL C is mostly based on C99.
See the HACKING file in the sources for how to request new mime-types.
Please follow the instructions at:
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.
I used text/x-opencl-src instead, to make it readable.
Author: Kevin Funk <email@example.com>
Date: Sat Mar 4 01:22:00 2017 +0100
Add OpenCL mime-type