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
7
ruby.jsf
7
ruby.jsf
@ -20,6 +20,7 @@
|
||||
=Symbol red
|
||||
=ProcArg #yellow
|
||||
=ClassMember fg_310 # brown
|
||||
=GlobalVar yellow
|
||||
|
||||
# Detect pod
|
||||
|
||||
@ -154,7 +155,7 @@ done
|
||||
|
||||
:not_string Idle
|
||||
* rest noeat
|
||||
"A-Za-z_" ident
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user