Fixed error of opening yum *.repo files.
[midnight-commander.git] / syntax / Syntax
blob3610576bf3f7efba86c09d8fe3849f533edd19f4
1 # This file describes which highlighting scheme is applied to a particular
2 # file in mcedit.
4 # Each entry consists of two lines: a "file" specification and the
5 # corresponding highlighting definition ("include"). A file specification
6 # can have two or three fields, each separated by white-space characters.
8 # The first field is a regular expression that is matched against the file
9 # name. The second field is a description of the file type and is
10 # currently unused. The third (optional) field is a regular expression
11 # that is matched against the first line of the file. The first entry
12 # that matches wins, that is, all the entries below are ignored.
14 # Certain characters must be quoted in these fields. These are space (\s),
15 # tabs (\t), backslashes(\\), plus (\+) and asterisk (\*). Braces {} and
16 # brackets [] must not be quoted in this file. However, they have a special
17 # meaning when used in the actual syntax definitions.
19 # You can use the following colors in the syntax highlighting files:
20 # black, blue, brightblue, brightcyan, brightgreen, brightmagenta,
21 # brightred, brown, cyan, gray, green, lightgray, magenta, red, white,
22 # yellow
25 file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
26 include syntax.syntax
28 file filehighlight.ini$ File\sHighlighting\sdefinitions ^#\sfile\shighlight\srules\sversion\s
29 include filehighlight.syntax
31 file ..\*\\.(e)$ Eiffel\sSource\sFile
32 include eiffel.syntax
34 file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
35 include diff.syntax
37 file ..\*\\.lsm$ LSM\sFile
38 include lsm.syntax
40 file ..\*\\.sh$ Shell\sScript ^#!.\*([\s/]([abd-z]?|ba|pdk)sh|@SH@)
41 include sh.syntax
43 file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)
44 include perl.syntax
46 file ..\*\\.(py|PY)$ Python\sProgram ^#!.\*([\s/]python|@PYTHON@)
47 include python.syntax
49 file ..\*\\.(rb|RB)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@)
50 include ruby.syntax
52 file ..\*\\.(man|[0-9n]|[0-9](x|ncurses|ssl|p|pm|menu|form|vga|t|td))$ NROFF\sSource
53 include nroff.syntax
55 file ..\*\\.(htm|html|HTM|HTML)$ HTML\sFile
56 include html.syntax
58 file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD|qpg|qpg.in)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
59 include xml.syntax
61 file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|Kbuild)$ Makefile
62 include makefile.syntax
64 file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
65 include pascal.syntax
67 file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram
68 include ada95.syntax
70 file ..\*\\.(tcl|itcl|TCL|ITCL)$ Tcl\sProgram
71 include tcl.syntax
73 file ..\*\\.(sl|SL)$ S-Lang\sProgram
74 include slang.syntax
76 file ..\*\\.tex$ LaTeX\s2.09\sDocument
77 include latex.syntax
79 file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
80 include texinfo.syntax
82 file ..\*\\.c$ C\sProgram
83 include c.syntax
85 file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|h\.in)$ C/C\+\+\sProgram
86 include cxx.syntax
88 file ..\*\\.d$ D\sProgram
89 include d.syntax
91 file ..\*\\.[fF]$ Fortran\sProgram
92 include fortran.syntax
94 file ..\*\\.[fF]9[05]$ Freeform\sFortran\sProgram
95 include f90.syntax
97 file ..\*\\.i$ SWIG\sSource
98 include swig.syntax
100 file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
101 include php.syntax
103 file ..\*\\.ij[xs]$ J\sFile
104 include j.syntax
106 file ..\*\\.(java|JAVA|Java|jav|groovy|GROOVY|Groovy)$ Java\sProgram
107 include java.syntax
109 file ..\*\\.(properties|config) Java\sFile
110 include properties.syntax
112 file ..\*\\.(cs|CS)$ C\#\sProgram
113 include cs.syntax
115 file ..\*\\.(js|JS)$ JavaScript\sProgram
116 include js.syntax
118 file ..\*\\.(asax|aspx|ascx|asmx|ashx)$ ASPX\sFile
119 include aspx.syntax
121 file ..\*\\.st$ SmallTalk\sProgram
122 include smalltalk.syntax
124 file ..\*\\.(lisp|lsp|el|cl)$ Lisp\sProgram
125 include lisp.syntax
127 file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram
128 include ml.syntax
130 file ..\*\\.m$ Matlab\sor\sOctave\sFile
131 include octave.syntax
133 file ..\*\\.(sql|SQL)$ SQL\sProgram
134 include sql.syntax
136 file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
137 include spec.syntax
139 file ..\*\\.repo$ YUM\sRepo File
140 include yum-repo.syntax
142 file ..\*\\.(awk)$ AWK\sFile
143 include awk.syntax
145 file ..\*\\.(css|qss|CSS|QSS)$ CSS\sFile
146 include css.syntax
148 file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
149 include changelog.syntax
151 file (..\*\\.m4$|configure\\.in|configure\\.ac) M4\sMacroprocessor\sSource
152 include m4.syntax
154 file ..\*\\.(bat|cmd)$ DOS\sBatch
155 include dos.syntax
157 file ..\*\\.(po|pot|pox)$ PO\sFile
158 include po.syntax
160 file ..\*\\.([Aa][Ss][Mm]|s|S)$ ASM\sProgram
161 include assembler.syntax
163 file ..\*\\.([Pp][Oo][Vv])$ POV\sScript
164 include povray.syntax
166 file .\*\\.(ebuild|eclass)$ Gentoo\sEbuild
167 include ebuild.syntax
169 file ..\*\\.([lL][uU][aA])$ LUA\sProgram ^#!.*/lua
170 include lua.syntax
172 file ..\*\\.([iI][dD][lL])$ CORBA\sIDL
173 include idl.syntax
175 file Don_t_match_me Mail\sfolder ^(From|Return-(P|p)ath:|From:|Date:)\s
176 include mail.syntax
178 file \.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail
179 include procmail.syntax
181 file sources.list$ sources\slist
182 include debian-sources-list.syntax
184 file control$ Debian\scontrol\sfile
185 include debian-control.syntax
187 file (rules|rocks)$ Debian\srules
188 include makefile.syntax
190 file .\*changelog$ Debian\schangelog\sfile
191 include debian-changelog.syntax
193 file changelog.Debian$ Debian\schangelog\sfile
194 include debian-changelog.syntax
196 file .\*\\.dsc$ Debian\sdescriptiom\sfile
197 include debian-description.syntax
199 file ..\*\\.([hH][sS][cC]?)$ Haskell\sprogram
200 include haskell.syntax
202 file ..\*\\.(n|N)$ Nemerle\sProgram
203 include nemerle.syntax
205 file ..\*\\.(v|V)$ Verilog\sDevice\sDescription
206 include verilog.syntax
208 file ..\*\\.(hdl|vhd|vdhl|HDL|VHD|VHDL)$ VHDL\sDevice\sDescription
209 include vhdl.syntax
211 file ..\*\\.erl$ Erlang\sProgram ^(-module\\(|#!.*escript)
212 include erlang.syntax
214 file ..\*\\.hrl$ Erlang\sHeader ^-record\\(
215 include erlang.syntax
217 file .\*named.conf$ Bind9\sconfiguration
218 include named.syntax
220 file .\*\\.strace$ Strace\sdebug\soutput
221 include strace.syntax
223 file PKGBUILD$ Arch\\spackage\\sbuild\\sscript
224 include PKGBUILD.syntax
226 file \\.install$ Arch\\spackage\\sinstall\\sscript
227 include sh.syntax
229 file ..\*\\.(y|yxx|ypp)$ Yacc/Bison\sParser
230 include yxx.syntax
232 file .\* unknown
233 include unknown.syntax