2005-05-25 03:00:36 +04:00
|
|
|
# This file describes which highlighting scheme is applied to a particular
|
|
|
|
# file in mcedit.
|
|
|
|
#
|
|
|
|
# Each entry consists of two lines: a "file" specification and the
|
|
|
|
# corresponding highlighting definition ("include"). A file specification
|
|
|
|
# can have two or three fields, each separated by white-space characters.
|
|
|
|
#
|
|
|
|
# The first field is a regular expression that is matched against the file
|
|
|
|
# name. The second field is a description of the file type and is
|
|
|
|
# currently unused. The third (optional) field is a regular expression
|
|
|
|
# that is matched against the first line of the file. The first entry
|
|
|
|
# that matches wins, that is, all the entries below are ignored.
|
|
|
|
#
|
|
|
|
# Certain characters must be quoted in these fields. These are space (\s),
|
|
|
|
# tabs (\t), backslashes(\\), plus (\+) and asterisk (\*). Braces {} and
|
2005-07-20 15:14:15 +04:00
|
|
|
# brackets [] must not be quoted in this file. However, they have a special
|
|
|
|
# meaning when used in the actual syntax definitions.
|
2005-05-25 03:00:36 +04:00
|
|
|
#
|
|
|
|
# You can use the following colors in the syntax highlighting files:
|
|
|
|
# black, blue, brightblue, brightcyan, brightgreen, brightmagenta,
|
|
|
|
# brightred, brown, cyan, gray, green, lightgray, magenta, red, white,
|
2001-09-12 01:42:13 +04:00
|
|
|
# yellow
|
2005-05-25 03:00:36 +04:00
|
|
|
#
|
2001-09-12 01:42:13 +04:00
|
|
|
|
2003-02-05 12:43:37 +03:00
|
|
|
file [Ss]yntax$ Syntax\sHighlighting\sdefinitions ^#\ssyntax\srules\sversion\s
|
|
|
|
include syntax.syntax
|
|
|
|
|
2004-10-16 16:59:26 +04:00
|
|
|
file ..\*\\.(e)$ Eiffel\sSource\sFile
|
|
|
|
include eiffel.syntax
|
|
|
|
|
2002-09-13 23:49:44 +04:00
|
|
|
file ..\*\\.(diff|rej|patch)$ Diff\sOutput ^(diff|Index:)\s
|
2001-09-12 01:42:13 +04:00
|
|
|
include diff.syntax
|
|
|
|
|
|
|
|
file ..\*\\.lsm$ LSM\sFile
|
|
|
|
include lsm.syntax
|
|
|
|
|
2005-05-25 03:00:36 +04:00
|
|
|
file ..\*\\.sh$ Shell\sScript ^#!.\*([\s/]([abd-z]?|ba|pdk)sh|@SH@)
|
2001-09-12 01:42:13 +04:00
|
|
|
include sh.syntax
|
|
|
|
|
2005-05-25 03:00:36 +04:00
|
|
|
file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)
|
2001-09-12 01:42:13 +04:00
|
|
|
include perl.syntax
|
|
|
|
|
2005-05-25 03:00:36 +04:00
|
|
|
file ..\*\\.(py|PY)$ Python\sProgram ^#!.\*([\s/]python|@PYTHON@)
|
2001-09-12 01:42:13 +04:00
|
|
|
include python.syntax
|
|
|
|
|
2005-05-25 03:00:36 +04:00
|
|
|
file ..\*\\.(rb|RB)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@)
|
2003-05-15 02:30:02 +04:00
|
|
|
include ruby.syntax
|
|
|
|
|
2009-01-11 00:50:00 +03:00
|
|
|
file ..\*\\.(man|[0-9n]|[0-9](x|ncurses|ssl|p|pm|menu|form|vga|t|td))$ NROFF\sSource
|
2001-09-12 01:42:13 +04:00
|
|
|
include nroff.syntax
|
|
|
|
|
|
|
|
file ..\*\\.(htm|html|HTM|HTML)$ HTML\sFile
|
|
|
|
include html.syntax
|
|
|
|
|
2004-11-03 23:16:48 +03:00
|
|
|
file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD|qpg|qpg.in)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
|
2002-01-11 08:51:32 +03:00
|
|
|
include xml.syntax
|
|
|
|
|
2005-11-01 00:21:15 +03:00
|
|
|
file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|Kbuild)$ Makefile
|
2005-11-01 00:13:49 +03:00
|
|
|
include makefile.syntax
|
|
|
|
|
2002-01-29 01:37:36 +03:00
|
|
|
file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
|
2001-09-12 01:42:13 +04:00
|
|
|
include pascal.syntax
|
|
|
|
|
|
|
|
file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram
|
|
|
|
include ada95.syntax
|
|
|
|
|
2002-07-16 08:24:35 +04:00
|
|
|
file ..\*\\.(tcl|itcl|TCL|ITCL)$ Tcl\sProgram
|
2002-07-10 23:56:11 +04:00
|
|
|
include tcl.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.(sl|SL)$ S-Lang\sProgram
|
|
|
|
include slang.syntax
|
|
|
|
|
|
|
|
file ..\*\\.tex$ LaTeX\s2.09\sDocument
|
|
|
|
include latex.syntax
|
|
|
|
|
|
|
|
file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
|
|
|
|
include texinfo.syntax
|
|
|
|
|
2009-01-05 14:43:41 +03:00
|
|
|
file ..\*\\.c$ C\sProgram
|
2001-09-12 01:42:13 +04:00
|
|
|
include c.syntax
|
|
|
|
|
2009-01-05 14:43:41 +03:00
|
|
|
file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|h\.in)$ C/C\+\+\sProgram
|
|
|
|
include cxx.syntax
|
|
|
|
|
2007-08-27 10:56:47 +04:00
|
|
|
file ..\*\\.d$ D\sProgram
|
|
|
|
include d.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.[fF]$ Fortran\sProgram
|
|
|
|
include fortran.syntax
|
|
|
|
|
2009-04-18 00:27:23 +04:00
|
|
|
file ..\*\\.[fF]9[05]$ Freeform\sFortran\sProgram
|
|
|
|
include f90.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.i$ SWIG\sSource
|
|
|
|
include swig.syntax
|
|
|
|
|
|
|
|
file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
|
|
|
|
include php.syntax
|
|
|
|
|
2009-03-23 14:03:44 +03:00
|
|
|
file ..\*\\.(java|JAVA|Java|jav|groovy|GROOVY|Groovy)$ Java\sProgram
|
2001-09-12 01:42:13 +04:00
|
|
|
include java.syntax
|
|
|
|
|
2003-02-28 00:15:44 +03:00
|
|
|
file ..\*\\.(cs|CS)$ C\#\sProgram
|
|
|
|
include cs.syntax
|
|
|
|
|
2002-09-16 20:57:18 +04:00
|
|
|
file ..\*\\.(js|JS)$ JavaScript\sProgram
|
|
|
|
include js.syntax
|
|
|
|
|
2004-10-27 17:29:51 +04:00
|
|
|
file ..\*\\.(asax|aspx|ascx|asmx|ashx)$ ASPX\sFile
|
|
|
|
include aspx.syntax
|
|
|
|
|
2002-09-16 20:57:18 +04:00
|
|
|
file ..\*\\.st$ SmallTalk\sProgram
|
2001-09-12 01:42:13 +04:00
|
|
|
include smalltalk.syntax
|
|
|
|
|
2009-01-11 00:50:00 +03:00
|
|
|
file ..\*\\.(lisp|lsp|el|cl)$ Lisp\sProgram
|
2002-08-06 16:57:39 +04:00
|
|
|
include lisp.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.(ml|mli|mly|mll|mlp)$ ML\sProgram
|
|
|
|
include ml.syntax
|
|
|
|
|
|
|
|
file ..\*\\.m$ Matlab\sor\sOctave\sFile
|
|
|
|
include octave.syntax
|
|
|
|
|
2002-07-18 20:13:28 +04:00
|
|
|
file ..\*\\.(sql|SQL)$ SQL\sProgram
|
|
|
|
include sql.syntax
|
|
|
|
|
2003-12-24 10:24:57 +03:00
|
|
|
file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
|
2002-08-26 08:38:43 +04:00
|
|
|
include spec.syntax
|
|
|
|
|
2009-01-10 23:50:54 +03:00
|
|
|
file ..\*\\.(awk)$ AWK\sFile
|
|
|
|
include awk.syntax
|
|
|
|
|
2009-01-11 00:02:27 +03:00
|
|
|
file ..\*\\.(css|qss|CSS|QSS)$ CSS\sFile
|
|
|
|
include css.syntax
|
|
|
|
|
2002-07-18 23:33:27 +04:00
|
|
|
file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
|
2001-09-12 01:42:13 +04:00
|
|
|
include changelog.syntax
|
|
|
|
|
2002-09-19 19:47:49 +04:00
|
|
|
file (..\*\\.m4$|configure\\.in|configure\\.ac) M4\sMacroprocessor\sSource
|
|
|
|
include m4.syntax
|
|
|
|
|
2002-07-05 07:58:35 +04:00
|
|
|
file ..\*\\.(bat|cmd)$ DOS\sBatch
|
2002-06-25 05:04:08 +04:00
|
|
|
include dos.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.(po|pot|pox)$ PO\sFile
|
|
|
|
include po.syntax
|
|
|
|
|
2005-03-18 13:26:35 +03:00
|
|
|
file ..\*\\.([Aa][Ss][Mm]|s|S)$ ASM\sProgram
|
|
|
|
include assembler.syntax
|
|
|
|
|
|
|
|
file ..\*\\.([Pp][Oo][Vv])$ POV\sScript
|
|
|
|
include povray.syntax
|
|
|
|
|
2009-01-10 19:55:35 +03:00
|
|
|
file .\*\\.(ebuild|eclass)$ Gentoo\sEbuild
|
|
|
|
include ebuild.syntax
|
|
|
|
|
2007-06-08 11:05:23 +04:00
|
|
|
file ..\*\\.([lL][uU][aA])$ LUA\sProgram ^#!.*/lua
|
2005-03-19 20:41:32 +03:00
|
|
|
include lua.syntax
|
|
|
|
|
|
|
|
file ..\*\\.([iI][dD][lL])$ CORBA\sIDL
|
|
|
|
include idl.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file Don_t_match_me Mail\sfolder ^From\s
|
|
|
|
include mail.syntax
|
|
|
|
|
2009-01-06 22:32:44 +03:00
|
|
|
file \.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail
|
|
|
|
include procmail.syntax
|
|
|
|
|
2009-01-06 22:24:30 +03:00
|
|
|
file sources.list$ sources\slist
|
|
|
|
include debian-sources-list.syntax
|
|
|
|
|
|
|
|
file control$ Debian\scontrol\sfile
|
|
|
|
include debian-control.syntax
|
|
|
|
|
|
|
|
file (rules|rocks)$ Debian\srules
|
|
|
|
include makefile.syntax
|
|
|
|
|
|
|
|
file .\*changelog$ Debian\schangelog\sfile
|
|
|
|
include debian-changelog.syntax
|
|
|
|
|
|
|
|
file changelog.Debian$ Debian\schangelog\sfile
|
|
|
|
include debian-changelog.syntax
|
|
|
|
|
|
|
|
file .\*\\.dsc$ Debian\sdescriptiom\sfile
|
|
|
|
include debian-description.syntax
|
|
|
|
|
2009-01-10 16:35:31 +03:00
|
|
|
file ..\*\\.([hH][sS][cC]?)$ Haskell\sprogram
|
|
|
|
include haskell.syntax
|
|
|
|
|
2009-01-10 23:43:05 +03:00
|
|
|
file ..\*\\.(n|N)$ Nemerle\sProgram
|
|
|
|
include nemerle.syntax
|
|
|
|
|
2009-01-30 20:28:26 +03:00
|
|
|
file ..\*\\.(hdl|vhdl|HDL|VHDL)$ VHDL\sProgram
|
|
|
|
include vhdl.syntax
|
|
|
|
|
2009-08-02 18:49:56 +04:00
|
|
|
file ..\*\\.erl$ Erlang\sProgram ^(-module\\(|#!.*escript)
|
2009-07-15 21:09:44 +04:00
|
|
|
include erlang.syntax
|
|
|
|
|
2009-08-02 18:49:56 +04:00
|
|
|
file ..\*\\.hrl$ Erlang\sHeader ^-record\\(
|
2009-07-15 21:09:44 +04:00
|
|
|
include erlang.syntax
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file .\* unknown
|
|
|
|
include unknown.syntax
|