erb.jsf (457B)
1 # JOE syntax highlight file for plain ERB 2 # by Christian Nicolai (http://mycrobase.de) 3 4 =Idle 5 =Keyword 6 =Bad 7 =Brace 8 =ERB +Escape 9 10 :content Idle 11 * content 12 "<" maybe_erb_start 13 14 :maybe_erb_start Idle 15 * content noeat 16 "%" maybe_erb_eq recolor=-2 17 18 :maybe_erb_eq ERB 19 * rtn_ruby noeat call=ruby.ruby(erb) 20 "=" rtn_ruby call=ruby.ruby(erb) 21 22 :rtn_ruby ERB 23 * content noeat 24 25 :erb ERB 26 * erb 27 "%" maybe_erb_end 28 29 :maybe_erb_end ERB 30 * erb 31 ">" content