mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 12:54:23 +01:00
Brace support for Ruby
This commit is contained in:
parent
848f80c0b7
commit
fda50c3968
8
ruby.jsf
8
ruby.jsf
@ -15,7 +15,9 @@
|
|||||||
=Bad bold red
|
=Bad bold red
|
||||||
=Var yellow
|
=Var yellow
|
||||||
|
|
||||||
|
=Brace magenta
|
||||||
=CommentTODO bold green
|
=CommentTODO bold green
|
||||||
|
|
||||||
=Symbol red
|
=Symbol red
|
||||||
=ProcArg #yellow
|
=ProcArg #yellow
|
||||||
=ClassMember fg_310 # brown
|
=ClassMember fg_310 # brown
|
||||||
@ -43,8 +45,9 @@
|
|||||||
"$" not_string buffer
|
"$" not_string buffer
|
||||||
"%" pstring
|
"%" pstring
|
||||||
"a-zA-Z_" ident buffer
|
"a-zA-Z_" ident buffer
|
||||||
|
"{[]}" brace recolor=-1
|
||||||
|
|
||||||
# added
|
# higher level, ruby specific
|
||||||
":" maybe_symbol noeat
|
":" maybe_symbol noeat
|
||||||
"|" proc_arg
|
"|" proc_arg
|
||||||
"@" class_member1
|
"@" class_member1
|
||||||
@ -154,6 +157,9 @@ done
|
|||||||
"A-Za-z_" ident
|
"A-Za-z_" ident
|
||||||
"\"'`#/" rest
|
"\"'`#/" rest
|
||||||
|
|
||||||
|
:brace Brace
|
||||||
|
* idle noeat
|
||||||
|
|
||||||
:line_comment Comment
|
:line_comment Comment
|
||||||
* line_comment
|
* line_comment
|
||||||
"\n" rest
|
"\n" rest
|
||||||
|
Loading…
Reference in New Issue
Block a user