ooops reverting mischanged option menu order...
[midnight-commander.git] / syntax / Syntax
blob63fa6065cf81ca4c57b6a843de246eabd9457e5a
1 # syntax rules version 62
2 # (after the slash is a Cooledit color, 0-26 or any of the X colors in rgb.txt)
3 # black
4 # red
5 # green
6 # brown
7 # blue
8 # magenta
9 # cyan
10 # lightgray
11 # gray
12 # brightred
13 # brightgreen
14 # yellow
15 # brightblue
16 # brightmagenta
17 # brightcyan
18 # white
20 file gobledy_gook #\sHelp\ssupport\sother\sfile\stypes
21 context default
22 file gobledy_gook #\sby\scoding\srules\sin\s~/.cedit/syntax.
23 context default
24 file gobledy_gook #\sSee\sman/syntax\sin\sthe\ssource\sdistribution
25 context default
26 file gobledy_gook #\sand\sconsult\sthe\sman\spage.
27 context default
30 file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
31 include diff.syntax
33 file ..\*\\.lsm$ LSM\sFile
34 include lsm.syntax
36 file ..\*\\.sh$ Shell\sScript ^#!\s\*/.\*/([a-z]?|ba|pdk)sh
37 include sh.syntax
39 file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!\s\*/.\*/perl
40 include perl.syntax
42 file ..\*\\.(py|PY)$ Python\sProgram ^#!\s\*/.\*/python
43 include python.syntax
45 file ..\*\\.(man|[0-9n]|[0-9]x)$ NROFF\sSource
46 include nroff.syntax
48 file ..\*\\.(htm|html|HTM|HTML)$ HTML\sFile
49 include html.syntax
51 file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
52 include xml.syntax
54 file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
55 include pascal.syntax
57 file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram
58 include ada95.syntax
60 file ..\*\\.(tcl|itcl|TCL|ITCL)$ Tcl\sProgram
61 include tcl.syntax
63 file ..\*\\.(sl|SL)$ S-Lang\sProgram
64 include slang.syntax
66 file ..\*\\.tex$ LaTeX\s2.09\sDocument
67 include latex.syntax
69 file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
70 include texinfo.syntax
72 file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX)$ C/C\+\+\sProgram
73 include c.syntax
75 file ..\*\\.[fF]$ Fortran\sProgram
76 include fortran.syntax
78 file ..\*\\.i$ SWIG\sSource
79 include swig.syntax
81 file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
82 include php.syntax
84 file ..\*\\.(java|JAVA|Java|jav)$ Java\sProgram
85 include java.syntax
87 file ..\*\\.(js|JS)$ JavaScript\sProgram
88 include js.syntax
90 file ..\*\\.st$ SmallTalk\sProgram
91 include smalltalk.syntax
93 file ..\*\\.(lisp|lsp|el)$ Lisp\sProgram
94 include lisp.syntax
96 file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram
97 include ml.syntax
99 file ..\*\\.m$ Matlab\sor\sOctave\sFile
100 include octave.syntax
102 file ..\*\\.(sql|SQL)$ SQL\sProgram
103 include sql.syntax
105 file ..\*\\.spec$ RPM\sSpecfile
106 include spec.syntax
108 file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
109 include changelog.syntax
111 file .\*[Mm]akefile[\\\.a-z]\*$ Makefile
112 include makefile.syntax
114 file ..\*\\.(bat|cmd)$ DOS\sBatch
115 include dos.syntax
117 file ..\*\\.(po|pot|pox)$ PO\sFile
118 include po.syntax
120 file Don_t_match_me Mail\sfolder ^From\s
121 include mail.syntax
123 file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
125 context default
126     keyword whole spellch\eck yellow/24
127     keyword whole keyw\ord yellow/24
128     keyword whole whole\[\t\s\]l\inestart brightcyan/17
129     keyword whole whole\[\t\s\]l\inestart brightcyan/17
130     keyword whole wh\oleleft\[\t\s\]l\inestart brightcyan/17
131     keyword whole wh\oleright\[\t\s\]l\inestart brightcyan/17
132     keyword whole l\inestart\[\t\s\]wh\ole
133     keyword whole l\inestart\[\t\s\]wh\ole
134     keyword whole l\inestart\[\t\s\]wh\oleleft
135     keyword whole l\inestart\[\t\s\]wh\oleright
136     keyword wholeleft whole\s brightcyan/17
137     keyword wholeleft whole\t brightcyan/17
138     keyword whole wh\oleleft brightcyan/17
139     keyword whole wh\oleright brightcyan/17
140     keyword whole lin\[e\]start brightcyan/17
141     keyword whole c\ontext\[\t\s\]exclusive brightred/18
142     keyword whole c\ontext\[\t\s\]default brightred/18
143     keyword whole c\ontext brightred/18
144     keyword whole wh\olechars\[\t\s\]left brightcyan/17
145     keyword whole wh\olechars\[\t\s\]right brightcyan/17
146     keyword whole wh\olechars brightcyan/17
147     keyword whole f\ile brightgreen/6
148     keyword whole in\clude brightred/18
150     keyword whole 0 lightgray/0 blue/26
151     keyword whole 1 lightgray/1 blue/26
152     keyword whole 2 lightgray/2 blue/26
153     keyword whole 3 lightgray/3 blue/26
154     keyword whole 4 lightgray/4 blue/26
155     keyword whole 5 lightgray/5 blue/26
156     keyword whole 6 lightgray/6
157     keyword whole 7 lightgray/7
158     keyword whole 8 lightgray/8
159     keyword whole 9 lightgray/9
160     keyword whole 10 lightgray/10
161     keyword whole 11 lightgray/11
162     keyword whole 12 lightgray/12
163     keyword whole 13 lightgray/13
164     keyword whole 14 lightgray/14
165     keyword whole 15 lightgray/15
166     keyword whole 16 lightgray/16
167     keyword whole 17 lightgray/17
168     keyword whole 18 lightgray/18
169     keyword whole 19 lightgray/19
170     keyword whole 20 lightgray/20
171     keyword whole 21 lightgray/21
172     keyword whole 22 lightgray/22
173     keyword whole 23 lightgray/23
174     keyword whole 24 lightgray/24
175     keyword whole 25 lightgray/25
176     keyword whole 26 lightgray/26
178     keyword wholeleft black\/ black/0
179     keyword wholeleft red\/ red/DarkRed
180     keyword wholeleft green\/ green/green3
181     keyword wholeleft brown\/ brown/saddlebrown
182     keyword wholeleft blue\/ blue/blue3
183     keyword wholeleft magenta\/ magenta/magenta3
184     keyword wholeleft cyan\/ cyan/cyan3
185     keyword wholeleft lightgray\/ lightgray/lightgray
186     keyword wholeleft gray\/ gray/gray
187     keyword wholeleft brightred\/ brightred/red
188     keyword wholeleft brightgreen\/ brightgreen/green1
189     keyword wholeleft yellow\/ yellow/yellow
190     keyword wholeleft brightblue\/ brightblue/blue1
191     keyword wholeleft brightmagenta\/ brightmagenta/magenta
192     keyword wholeleft brightcyan\/ brightcyan/cyan1
193     keyword wholeleft white\/ white/26
195 context linestart # \n brown/22
197 file .\* unknown
198 include unknown.syntax