2011-10-30 20:33:38 +01:00
|
|
|
# JOE syntax highlight file for Erlang
|
|
|
|
|
|
|
|
=Idle
|
2012-07-03 14:48:49 +02:00
|
|
|
=Comment fg_030
|
|
|
|
=String fg_110
|
|
|
|
=String_mod fg_300 bold
|
2012-07-03 16:02:37 +02:00
|
|
|
=String_esc fg_024 bold
|
2012-07-03 14:48:49 +02:00
|
|
|
=Int fg_033
|
|
|
|
=Record fg_530
|
|
|
|
=Recatt fg_530
|
|
|
|
=Fun fg_115
|
|
|
|
=Module fg_101
|
2011-10-30 20:33:38 +01:00
|
|
|
=Keyword bold
|
2012-07-03 14:48:49 +02:00
|
|
|
=Brace fg_555 bold
|
|
|
|
=Brack fg_222
|
2011-10-30 20:33:38 +01:00
|
|
|
|
|
|
|
=Variable fg_310
|
2012-07-03 14:48:49 +02:00
|
|
|
=Attribute fg_505
|
2011-10-30 20:33:38 +01:00
|
|
|
|
|
|
|
:idle Idle
|
|
|
|
* idle
|
2012-07-03 14:48:49 +02:00
|
|
|
"A-Z_" variable noeat
|
2011-10-30 20:33:38 +01:00
|
|
|
"%" line_comment noeat
|
|
|
|
"\"" string recolor=-1
|
|
|
|
"'" quoted_atom recolor=-1
|
|
|
|
"0-9" decimal recolor=-1
|
2012-07-03 14:48:49 +02:00
|
|
|
"[]" brack recolor=-1
|
|
|
|
"{}" brace recolor=-1
|
2011-10-30 20:33:38 +01:00
|
|
|
"-" maybe_attribute mark
|
2012-07-03 14:48:49 +02:00
|
|
|
"a-z" atom buffer mark noeat
|
|
|
|
"#" record recolor=-1
|
2011-10-30 20:33:38 +01:00
|
|
|
|
|
|
|
:line_comment Comment
|
|
|
|
* line_comment
|
|
|
|
"\n" idle
|
|
|
|
|
|
|
|
:variable Variable
|
|
|
|
* idle noeat
|
2012-07-03 14:48:49 +02:00
|
|
|
"a-zA-Z0-9_" variable
|
2011-10-30 20:33:38 +01:00
|
|
|
|
2012-07-03 14:48:49 +02:00
|
|
|
:record Record
|
|
|
|
* idle noeat
|
|
|
|
"a-zA-z_" record
|
|
|
|
"." recatt recolor=-1
|
|
|
|
|
|
|
|
:recatt Recatt
|
|
|
|
* idle noeat
|
|
|
|
"a-zA-Z_" recatt
|
|
|
|
|
2012-07-03 16:02:37 +02:00
|
|
|
# STRINGS
|
2012-07-03 14:48:49 +02:00
|
|
|
:string String
|
2011-10-30 20:33:38 +01:00
|
|
|
* string
|
2012-07-03 16:02:37 +02:00
|
|
|
"\\" string_escape recolor=-1
|
|
|
|
"~" string_ mark
|
2011-10-30 20:33:38 +01:00
|
|
|
"\"" idle
|
|
|
|
|
2012-07-03 16:02:37 +02:00
|
|
|
:string_escape String_esc
|
2012-07-03 14:48:49 +02:00
|
|
|
* string
|
|
|
|
|
2012-07-03 16:02:37 +02:00
|
|
|
:string_ String
|
|
|
|
* string_mod noeat
|
|
|
|
"0-9" string_f
|
|
|
|
"t" string_mod
|
|
|
|
:string_f String
|
|
|
|
* string_mod noeat
|
|
|
|
"0-9*" string_f
|
|
|
|
"." string_p
|
2012-07-03 14:48:49 +02:00
|
|
|
|
2012-07-03 16:02:37 +02:00
|
|
|
:string_p String
|
|
|
|
* string_mod noeat
|
|
|
|
"0-9*" string_p
|
|
|
|
|
|
|
|
:string_mod String
|
|
|
|
* string
|
|
|
|
"cfegswpWPBX#bx+ni" string_modifier recolormark noeat
|
|
|
|
|
|
|
|
:string_modifier String_mod
|
|
|
|
* string
|
|
|
|
# END STRINGS
|
2012-07-03 14:48:49 +02:00
|
|
|
:decimal Int
|
2011-10-30 20:33:38 +01:00
|
|
|
* idle noeat
|
|
|
|
"0-9" decimal
|
|
|
|
"." float
|
|
|
|
|
2012-07-03 14:48:49 +02:00
|
|
|
:float Int
|
2011-10-30 20:33:38 +01:00
|
|
|
* idle noeat
|
|
|
|
"0-9" float
|
|
|
|
|
|
|
|
:brace Brace
|
|
|
|
* idle noeat
|
|
|
|
|
2012-07-03 14:48:49 +02:00
|
|
|
:brack Brack
|
|
|
|
* idle noeat
|
|
|
|
|
2011-10-30 20:33:38 +01:00
|
|
|
:maybe_attribute Idle
|
|
|
|
* idle noeat
|
2012-07-03 14:48:49 +02:00
|
|
|
"a-z_" maybe_attribute
|
|
|
|
"(." attribute recolormark noeat
|
2011-10-30 20:33:38 +01:00
|
|
|
|
|
|
|
:attribute Attribute
|
|
|
|
* idle noeat
|
|
|
|
|
|
|
|
:atom Idle
|
|
|
|
* idle noeat strings
|
|
|
|
"after" kw
|
|
|
|
"and" kw
|
|
|
|
"andalso" kw
|
|
|
|
"band" kw
|
|
|
|
"begin" kw
|
|
|
|
"bnot" kw
|
|
|
|
"bor" kw
|
|
|
|
"bsl" kw
|
|
|
|
"bsr" kw
|
|
|
|
"bxor" kw
|
|
|
|
"case" kw
|
|
|
|
"catch" kw
|
|
|
|
"cond" kw
|
|
|
|
"div" kw
|
|
|
|
"end" kw
|
|
|
|
"fun" kw
|
|
|
|
"if" kw
|
|
|
|
"let" kw
|
|
|
|
"not" kw
|
|
|
|
"of" kw
|
|
|
|
"or" kw
|
|
|
|
"orelse" kw
|
|
|
|
"query" kw
|
|
|
|
"receive" kw
|
|
|
|
"rem" kw
|
|
|
|
"try" kw
|
|
|
|
"when" kw
|
|
|
|
"xor" kw
|
2012-07-03 14:48:49 +02:00
|
|
|
done
|
|
|
|
"(" function recolormark noeat
|
|
|
|
":" module recolormark noeat
|
2011-10-30 20:33:38 +01:00
|
|
|
"a-zA-Z0-9_@" atom
|
|
|
|
|
2012-07-03 14:48:49 +02:00
|
|
|
:module Module
|
|
|
|
* idle noeat
|
|
|
|
|
|
|
|
:function Fun
|
|
|
|
* idle noeat
|
|
|
|
|
2011-10-30 20:33:38 +01:00
|
|
|
:kw Keyword
|
|
|
|
* idle noeat
|
|
|
|
|
|
|
|
:quoted_atom Idle
|
|
|
|
* quoted_atom
|
|
|
|
"'" idle
|