[Geany-devel] for when coffeescript is added

Matthew Brush mbrush at xxxxx
Sun Dec 11 04:29:43 UTC 2011

On 12/10/2011 08:21 PM, joshua.rh at comcast.net wrote:
> I was told this might be useful for when coffeescript is added:


> ## FILETYPES.COFFEESCRIPT (delete this comment)
> # For complete documentation of this file, please see Geany's main
> documentation
> [styling=C]
> [keywords]
> # all items must be in one line
> ##note: keywords can be found here:
> https://raw.github.com/jashkenas/coffee-script/master/src/lexer.coffee
> primary=case default function var void with const let enum export import
> native __hasProp __extends __slice __bind __indexOf true false null this
> new delete typeof in instanceof return throw break continue debugger if
> else switch for while do try catch finally class extends super undefined
> then unless until loop of by when and or is isnt not yes no on off
> secondary=Array Boolean Date Function Math Number Object String RegExp
> EvalError Error RangeError ReferenceError SyntaxError TypeError URIError
> prototype decodeURI decodeURIComponent encodeURI encodeURIComponent eval
> isFinite isNaN parseFloat parseInt
> [settings]
> # default extension used when saving files
> extension=coffee
> # single comments, like # in this file
> comment_single=#
> # multiline comments
> comment_open=###
> comment_close=###

I wonder if \# or some escaping is needed here for GKeyFile to read 

Matthew Brush

More information about the Devel mailing list