Added global variable highlighter for ruby

Feature:
- highlights $blub variables (yellow)
This commit is contained in:
Christian Nicolai 2011-08-04 00:23:31 +02:00
parent 267ac0301b
commit 60f12d591d
1 changed files with 7 additions and 2 deletions

View File

@ -20,6 +20,7 @@
=Symbol red
=ProcArg #yellow
=ClassMember fg_310 # brown
=GlobalVar yellow
# Detect pod
@ -153,8 +154,8 @@ done
* regex
:not_string Idle
* rest noeat
"A-Za-z_" ident
* rest noeat
"A-Za-z_" global_var recolor=-2
"\"'`#/" rest
:brace Brace
@ -485,6 +486,10 @@ done
* rest noeat
"a-zA-Z0-9_" class_member
:global_var GlobalVar
* rest noeat
"a-zA-Z0-9_" global_var
.subr comment_todo
# initial state
:comment_todo_init Comment