File: joerc.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 (115 lines) | stat: -rw-r--r-- 1,694 bytes parent folder | download | duplicates (17)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# JOE syntax highlight file for typical UNIX configuration files

=Idle
=Comment 	green
=String 	cyan
=Escape 	bold cyan
=Bad		bold red

:idle Idle
	*		not_comment
	"\n"		idle
	" 	"	comment
	"-"		option
	"\""		keybind_string recolor=-1
	"a-zA-Z_"	keybind

:keybind Idle
	*		keybind
	"\""		keybind_string recolor=-1
	"\n"		idle
	","		keybind_after_comma
	" 	"	keybind1

:keybind_after_comma Idle
	*		keybind noeat
	" 	"	keybind_after_comma
	"\n"		keybind_after_comma

:keybind_string String
	*		keybind_string
	"\\"		keybind_escape recolor=-1
	"\""		keybind

:keybind_escape Escape
	*		keybind_string

:keybind1 Idle
	*		keybind2
	"\n"		idle
	" 	"	keybind1

:keybind2 Idle
	*		keybind2
	"\n"		idle
	"	"	comment noeat
	" "		maybe_com

:maybe_com Idle
	*		keybind2 noeat
	" 	"	comment noeat

:option Idle
	*		bad recolor=-1
	"-"		option
	"a-zA-Z_"	ident buffer

:ident Idle
	*		comment noeat strings
	"backpath"		sopt
	"lines"			nopt
	"baud"			nopt
	"columns"		nopt
	"skiptop"		nopt
	"text_color"		sopt
	"status_color"		sopt
	"help_color"		sopt
	"menu_color"		sopt
	"prompt_color"		sopt
	"msg_color"		sopt
	"lmsg"			sopt
	"rmsg"			sopt
	"cpara"			sopt
	"encoding"		sopt
	"syntax"		sopt
	"indentc"		nopt
	"istep"			nopt
	"lmargin"		nopt
	"rmargin"		nopt
	"keymap"		sopt
	"mfirst"		sopt
	"mnew"			sopt
	"mold"			sopt
	"msnew"			sopt
	"msold"			sopt
	"text_delimiters"	sopt
done
	"a-zA-Z0-9_"	ident

:sopt Idle
	*		dosopt noeat

:dosopt String
	*		dosopt
	"\n"		idle

:nopt Idle
	*		bad recolor=-1
	" 	"	nopt
	"0-9"		nopt1 recolor=-1

:nopt1 String
	*		comment noeat
	"0-9"		nopt1

:bad Bad
	*		bad
	"\n"		idle

:comment Comment
	*		comment
	"\n"		idle

:not_comment Idle
	*		not_comment
	"\n"		idle