Created attachment 29206 [details] example cuda source file Hi everyone. i have written a lang file for gtksourceview-2.0 that highlighting NVIDIA CUDA files. but we do not find suitable mime type for these files. which mimetype should i use ? i have attached an example source file here
This is a simple C file. Following the RFCs 2045-2049 something like text/vnd.nvidia.cuda.csrc or similar might be suitable as MIME subtype. Define it as sub-type of text/x-csrc with a global pattern of "*.cu" and add an entry to the shared-mime-info database (see the attached patch). I would close this as NOTOURBUG. Or did you propose to add this file-type to the shared-mime-info database? Then please reopen.
Created attachment 32903 [details] [review] proposed patch for freedesktop.org.xml.in
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.