Skip to content

Instantly share code, notes, and snippets.

@webarthur
Created October 26, 2015 17:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webarthur/3036a58651fc596f84c3 to your computer and use it in GitHub Desktop.
Save webarthur/3036a58651fc596f84c3 to your computer and use it in GitHub Desktop.
CoffeeScript for Geany
# From: https://github.com/czepol/geany-coffeescript-config/issues/2
# Save it in ~/.config/geany/filedefs/filetypes.Coffeescript.conf
# Add at Tools -> Config files -> filetypes_extensions.conf
# Coffeescript=*.coffee;*.coffeescript;*.cs;
[settings]
lexer_filetype=Javascript
tag_parser=Javascript
# default extension used when saving files
extension=coffee
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=default
comment=comment
commentline=comment
commentdoc=commentdoc
number=number
word=keyword
word2=keyword2
string=string
character=string
uuid=extra
preprocessor=preprocessor
operator=operator
identifier=default
stringeol=stringeol
# @"verbatim"
verbatim=extra
# (/regex/)
regex=extra
commentlinedoc=commentdoc,bold
commentdockeyword=commentdoc,bold,italic
commentdockeyworderror=commentdoc
globalclass=type
[keywords]
# all items must be in one line
primary=break case catch const continue default delete do each else false finally for function get if in Infinity instanceof let NaN new null return set switch this throw true try typeof undefined var void while with yield until loop unless class
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 yes no on off when then and or in of by is isnt not where extends super
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=#
# multiline comments
comment_open=###
comment_close=###
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=
run=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment