mime-type for renpy script
Posted: Fri May 16, 2014 10:52 am
I'm developing a highlighter for gtk-sourceview, to highlight renpy code in gedit (Notepad++ and a handful of others also can use it, too). I am tempted to define a mime-type for renpy script files. Ok, so an operating system maps a mimetype to a file extension in some system-specific key-value file. Specifically, the *.rpy glob pattern to some identifier (e.g. the same way *.html maps to text/html). What I'm stuck on is what to use as an identifier. Possibilities are "text/renpy" (my personal choice), or "text/renpy-script", etc. Is there anything specified at the moment? I feel I should ask before I clobber any official suggestion.
I plan to release this on my own as a deb or rpm patch.