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