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
|
|
|
|
|
2001-09-12 01:42:13 +04:00
|
|
|
file ..\*\\.(man|[0-9n]|[0-9]x)$ NROFF\sSource
|
|
|
|
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
|
|
|
|
|
2003-12-24 10:24:57 +03:00
|
|
|
file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX|hxx|h\.in)$ C/C\+\+\sProgram
|
2001-09-12 01:42:13 +04:00
|
|
|
include c.syntax
|
|
|
|
|
|
|
|
file ..\*\\.[fF]$ Fortran\sProgram
|
|
|
|
include fortran.syntax
|
|
|
|
|
|
|
|
file ..\*\\.i$ SWIG\sSource
|
|
|
|
include swig.syntax
|
|
|
|
|
|
|
|
file ..\*\\.(php|PHP)[0-9]?$ PHP\sProgram
|
|
|
|
include php.syntax
|
|
|
|
|
|
|
|
file ..\*\\.(java|JAVA|Java|jav)$ Java\sProgram
|
|
|
|
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
|
|
|
|
|
2002-08-06 16:59:00 +04:00
|
|
|
file ..\*\\.(lisp|lsp|el)$ 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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
file .\* unknown
|
|
|
|
include unknown.syntax
|