File: erb.jsf

package info (click to toggle)
ne 3.3.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: ansic: 28,739; perl: 571; makefile: 265; sh: 9
file content (32 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# JOE syntax highlight file for plain ERB
# by Christian Nicolai (http://mycrobase.de)

=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