2011-10-04 21:26:20 +02:00
|
|
|
# JOE syntax highlight file for plain ERB
|
2015-03-03 14:44:05 +01:00
|
|
|
# by Christian Nicolai (http://mycrobase.de)
|
2011-10-04 21:26:20 +02:00
|
|
|
|
|
|
|
=Idle
|
|
|
|
=Keyword bold
|
|
|
|
=Bad bold red
|
|
|
|
=Brace magenta
|
|
|
|
|
|
|
|
=ERB yellow
|
|
|
|
|
|
|
|
:content Idle
|
|
|
|
* content
|
|
|
|
"<" maybe_erb_start
|
|
|
|
|
|
|
|
:maybe_erb_start Idle
|
|
|
|
* content noeat
|
|
|
|
"%" maybe_erb_eq recolor=-2
|
|
|
|
|
|
|
|
:maybe_erb_eq ERB
|
|
|
|
* rtn_ruby noeat call=ruby.ruby(erb)
|
|
|
|
"=" rtn_ruby call=ruby.ruby(erb)
|
|
|
|
|
|
|
|
:rtn_ruby ERB
|
|
|
|
* content noeat
|
|
|
|
|
|
|
|
:erb ERB
|
|
|
|
* erb
|
|
|
|
"%" maybe_erb_end
|
|
|
|
|
|
|
|
:maybe_erb_end ERB
|
|
|
|
* erb
|
|
|
|
">" content
|