mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
Added global variable highlighter for ruby
Feature: - highlights $blub variables (yellow)
This commit is contained in:
parent
267ac0301b
commit
60f12d591d
9
ruby.jsf
9
ruby.jsf
@ -20,6 +20,7 @@
|
|||||||
=Symbol red
|
=Symbol red
|
||||||
=ProcArg #yellow
|
=ProcArg #yellow
|
||||||
=ClassMember fg_310 # brown
|
=ClassMember fg_310 # brown
|
||||||
|
=GlobalVar yellow
|
||||||
|
|
||||||
# Detect pod
|
# Detect pod
|
||||||
|
|
||||||
@ -153,8 +154,8 @@ done
|
|||||||
* regex
|
* regex
|
||||||
|
|
||||||
:not_string Idle
|
:not_string Idle
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"A-Za-z_" ident
|
"A-Za-z_" global_var recolor=-2
|
||||||
"\"'`#/" rest
|
"\"'`#/" rest
|
||||||
|
|
||||||
:brace Brace
|
:brace Brace
|
||||||
@ -485,6 +486,10 @@ done
|
|||||||
* rest noeat
|
* rest noeat
|
||||||
"a-zA-Z0-9_" class_member
|
"a-zA-Z0-9_" class_member
|
||||||
|
|
||||||
|
:global_var GlobalVar
|
||||||
|
* rest noeat
|
||||||
|
"a-zA-Z0-9_" global_var
|
||||||
|
|
||||||
.subr comment_todo
|
.subr comment_todo
|
||||||
# initial state
|
# initial state
|
||||||
:comment_todo_init Comment
|
:comment_todo_init Comment
|
||||||
|
Loading…
Reference in New Issue
Block a user