1 # This file describes which highlighting scheme is applied to a particular
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,
25 file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
28 file filehighlight.ini$ File\sHighlighting\sdefinitions ^#\sfile\shighlight\srules\sversion\s
29 include filehighlight.syntax
31 file ..\*\\.(e)$ Eiffel\sSource\sFile
34 file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
37 file ..\*\\.lsm$ LSM\sFile
40 file .\*(bash_completion|profile|\\.(sh|bash_login|bash_profile|bash_logout|bash_aliases|bash_exports|bash_history|bashrc|profile))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh
43 file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)
46 file ..\*\\.(py|PY)$ Python\sProgram ^#!.\*([\s/]python|@PYTHON@)
49 file ..\*\\.(rb|RB)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@)
52 file ..\*\\.(man|[0-9n]|[0-9](x|ncurses|ssl|p|pm|menu|form|vga|t|td))$ NROFF\sSource
55 file ..\*\\.(htm|html|HTM|HTML)$ HTML\sFile
58 file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD|qpg|qpg.in)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
61 file ..\*\\.(tt|TT)$ Template::Toolkit\sFile
64 file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|Kbuild)$ Makefile
65 include makefile.syntax
67 file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
70 file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram
73 file ..\*\\.(tcl|itcl|TCL|ITCL)$ Tcl\sProgram
76 file ..\*\\.(sl|SL)$ S-Lang\sProgram
79 file ..\*\\.tex$ LaTeX\s2.09\sDocument
82 file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
83 include texinfo.syntax
85 file ..\*\\.c$ C\sProgram
88 file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|hh|hpp|HPP|h\.in)$ C/C\+\+\sProgram
91 file ..\*\\.d$ D\sProgram
94 file ..\*\\.[fF]$ Fortran\sProgram
95 include fortran.syntax
97 file ..\*\\.[fF]9[05]$ Freeform\sFortran\sProgram
100 file ..\*\\.i$ SWIG\sSource
103 file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
106 file ..\*\\.ij[xs]$ J\sFile
109 file ..\*\\.(java|JAVA|Java|jav|groovy|GROOVY|Groovy)$ Java\sProgram
112 file ..\*\\.(properties|config) Java\sFile
113 include properties.syntax
115 file ..\*\\.(cs|CS)$ C\#\sProgram
118 file ..\*\\.(js|JS)$ JavaScript\sProgram
121 file ..\*\\.(asax|aspx|ascx|asmx|ashx)$ ASPX\sFile
124 file ..\*\\.st$ SmallTalk\sProgram
125 include smalltalk.syntax
127 file ..\*\\.(lisp|lsp|el|cl)$ Lisp\sProgram
130 file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram
133 file ..\*\\.m$ Matlab\sor\sOctave\sFile
134 include octave.syntax
136 file ..\*\\.(sql|SQL)$ SQL\sProgram
139 file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
142 file ..\*\\.repo$ YUM\sRepo\sFile
143 include yum-repo.syntax
145 file ..\*\\.(awk)$ AWK\sFile
148 file ..\*\\.(css|qss|CSS|QSS)$ CSS\sFile
151 file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
152 include changelog.syntax
154 file (..\*\\.m4$|configure\\.in|configure\\.ac) M4\sMacroprocessor\sSource
157 file ..\*\\.(bat|cmd)$ DOS\sBatch
160 file ..\*\\.(po|pot|pox)$ PO\sFile
163 file ..\*\\.([Aa][Ss][Mm]|s|S)$ ASM\sProgram
164 include assembler.syntax
166 file ..\*\\.([Pp][Oo][Vv])$ POV\sScript
167 include povray.syntax
169 file .\*\\.(ebuild|eclass)$ Gentoo\sEbuild
170 include ebuild.syntax
172 file ..\*\\.([lL][uU][aA])$ LUA\sProgram ^#!.*/lua
175 file ..\*\\.([iI][dD][lL])$ CORBA\sIDL
178 file ..\*\\.([iI][nN][iI])$ INI\sFile
181 file Don_t_match_me Mail\sfolder ^(From|Return-(P|p)ath:|From:|Date:)\s
184 file \.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail
185 include procmail.syntax
187 file sources.list$ sources\slist
188 include debian-sources-list.syntax
190 file control$ Debian\scontrol\sfile
191 include debian-control.syntax
193 file (rules|rocks)$ Debian\srules
194 include makefile.syntax
196 file .\*changelog$ Debian\schangelog\sfile
197 include debian-changelog.syntax
199 file changelog.Debian$ Debian\schangelog\sfile
200 include debian-changelog.syntax
202 file .\*\\.dsc$ Debian\sdescriptiom\sfile
203 include debian-description.syntax
205 file ..\*\\.([hH][sS][cC]?)$ Haskell\sprogram
206 include haskell.syntax
208 file ..\*\\.([cC][aA][bB][aA][lL])$ Cabal\sconfig\sfile
211 file ..\*\\.(n|N)$ Nemerle\sProgram
212 include nemerle.syntax
214 file ..\*\\.(v|V)$ Verilog\sDevice\sDescription
215 include verilog.syntax
217 file ..\*\\.(hdl|vhd|vdhl|HDL|VHD|VHDL)$ VHDL\sDevice\sDescription
220 file ..\*\\.erl$ Erlang\sProgram ^(-module\\(|#!.*escript)
221 include erlang.syntax
223 file ..\*\\.hrl$ Erlang\sHeader ^-record\\(
224 include erlang.syntax
226 file .\*named.conf$ Bind9\sconfiguration
229 file .\*\\.strace$ Strace\sdebug\soutput
230 include strace.syntax
232 file PKGBUILD$ Arch\spackage\sbuild\sscript
233 include PKGBUILD.syntax
235 file \\.install$ Arch\spackage\sinstall\sscript
238 file ..\*\\.(y|yxx|ypp)$ Yacc/Bison\sParser
242 include unknown.syntax