1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

Improved ruby.jsf

Now class and instance members (@@var and @var) will be recognized correctly.
This commit is contained in:
Christian Nicolai 2011-07-31 22:55:29 +02:00
parent 7904eb9dbf
commit c73df189f8

View File

@ -6,7 +6,6 @@
# EOF2.
=Idle
=Preproc blue
=Comment green
=POD green
=Constant cyan
@ -19,7 +18,7 @@
=CommentTODO bold green
=Symbol red
=ProcArg #yellow
=ClassMember #fg_310 # brown
=ClassMember fg_310 # brown
# Detect pod
@ -48,7 +47,7 @@
# added
":" maybe_symbol noeat
"|" proc_arg
"@" class_member recolor=-1
"@" class_member1
# / / regex not allowed after terms
@ -488,9 +487,14 @@ done
:proc_arg_sep Idle
* proc_arg
:class_member1 ClassMember
:class_member1 Idle
* rest noeat
"a-zA-Z_" class_member
"a-zA-Z_" class_member recolor=-2
"@" class_member2
:class_member2 ClassMember
* rest noeat
"a-zA-Z_" class_member recolor=-3
:class_member ClassMember
* rest noeat