Just a fuzzy trim...
[midnight-commander.git] / syntax / Syntax
blob173809de7c769e6b2dbafb285b7d048da254e1ef
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
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 ..\*\\.(sl|SL)$ S-Lang\sProgram
61 include slang.syntax
63 file ..\*\\.tex$ LaTeX\s2.09\sDocument
64 include latex.syntax
66 file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
67 include texinfo.syntax
69 file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX)$ C/C\+\+\sProgram
70 include c.syntax
72 file ..\*\\.[fF]$ Fortran\sProgram
73 include fortran.syntax
75 file ..\*\\.i$ SWIG\sSource
76 include swig.syntax
78 file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
79 include php.syntax
81 file ..\*\\.(java|JAVA|Java|jav)$ Java\sProgram
82 include java.syntax
84 file ..\*\\.(st)$ SmallTalk\sProgram
85 include smalltalk.syntax
87 file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram
88 include ml.syntax
90 file ..\*\\.m$ Matlab\sor\sOctave\sFile
91 include octave.syntax
93 file .\*ChangeLog$ GNU\sDistribution\sChangeLog\sFile
94 include changelog.syntax
96 file .\*[Mm]akefile[\\\.a-z]\*$ Makefile
97 include makefile.syntax
99 file ..\*\\.(po|pot|pox)$ PO\sFile
100 include po.syntax
102 file Don_t_match_me Mail\sfolder ^From\s
103 include mail.syntax
105 file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
107 context default
108     keyword whole spellch\eck yellow/24
109     keyword whole keyw\ord yellow/24
110     keyword whole whole\[\t\s\]l\inestart brightcyan/17
111     keyword whole whole\[\t\s\]l\inestart brightcyan/17
112     keyword whole wh\oleleft\[\t\s\]l\inestart brightcyan/17
113     keyword whole wh\oleright\[\t\s\]l\inestart brightcyan/17
114     keyword whole l\inestart\[\t\s\]wh\ole
115     keyword whole l\inestart\[\t\s\]wh\ole
116     keyword whole l\inestart\[\t\s\]wh\oleleft
117     keyword whole l\inestart\[\t\s\]wh\oleright
118     keyword wholeleft whole\s brightcyan/17
119     keyword wholeleft whole\t brightcyan/17
120     keyword whole wh\oleleft brightcyan/17
121     keyword whole wh\oleright brightcyan/17
122     keyword whole lin\[e\]start brightcyan/17
123     keyword whole c\ontext\[\t\s\]exclusive brightred/18
124     keyword whole c\ontext\[\t\s\]default brightred/18
125     keyword whole c\ontext brightred/18
126     keyword whole wh\olechars\[\t\s\]left brightcyan/17
127     keyword whole wh\olechars\[\t\s\]right brightcyan/17
128     keyword whole wh\olechars brightcyan/17
129     keyword whole f\ile brightgreen/6
130     keyword whole in\clude brightred/18
132     keyword whole 0 lightgray/0 blue/26
133     keyword whole 1 lightgray/1 blue/26
134     keyword whole 2 lightgray/2 blue/26
135     keyword whole 3 lightgray/3 blue/26
136     keyword whole 4 lightgray/4 blue/26
137     keyword whole 5 lightgray/5 blue/26
138     keyword whole 6 lightgray/6
139     keyword whole 7 lightgray/7
140     keyword whole 8 lightgray/8
141     keyword whole 9 lightgray/9
142     keyword whole 10 lightgray/10
143     keyword whole 11 lightgray/11
144     keyword whole 12 lightgray/12
145     keyword whole 13 lightgray/13
146     keyword whole 14 lightgray/14
147     keyword whole 15 lightgray/15
148     keyword whole 16 lightgray/16
149     keyword whole 17 lightgray/17
150     keyword whole 18 lightgray/18
151     keyword whole 19 lightgray/19
152     keyword whole 20 lightgray/20
153     keyword whole 21 lightgray/21
154     keyword whole 22 lightgray/22
155     keyword whole 23 lightgray/23
156     keyword whole 24 lightgray/24
157     keyword whole 25 lightgray/25
158     keyword whole 26 lightgray/26
160     keyword wholeleft black\/ black/0
161     keyword wholeleft red\/ red/DarkRed
162     keyword wholeleft green\/ green/green3
163     keyword wholeleft brown\/ brown/saddlebrown
164     keyword wholeleft blue\/ blue/blue3
165     keyword wholeleft magenta\/ magenta/magenta3
166     keyword wholeleft cyan\/ cyan/cyan3
167     keyword wholeleft lightgray\/ lightgray/lightgray
168     keyword wholeleft gray\/ gray/gray
169     keyword wholeleft brightred\/ brightred/red
170     keyword wholeleft brightgreen\/ brightgreen/green1
171     keyword wholeleft yellow\/ yellow/yellow
172     keyword wholeleft brightblue\/ brightblue/blue1
173     keyword wholeleft brightmagenta\/ brightmagenta/magenta
174     keyword wholeleft brightcyan\/ brightcyan/cyan1
175     keyword wholeleft white\/ white/26
177 context linestart # \n brown/22
179 file .\* unknown
180 include unknown.syntax