2001-09-12 01:42:13 +04:00
|
|
|
# syntax rules version 62
|
|
|
|
# (after the slash is a Cooledit color, 0-26 or any of the X colors in rgb.txt)
|
|
|
|
# black
|
|
|
|
# red
|
|
|
|
# green
|
|
|
|
# brown
|
|
|
|
# blue
|
|
|
|
# magenta
|
|
|
|
# cyan
|
|
|
|
# lightgray
|
|
|
|
# gray
|
|
|
|
# brightred
|
|
|
|
# brightgreen
|
|
|
|
# yellow
|
|
|
|
# brightblue
|
|
|
|
# brightmagenta
|
|
|
|
# brightcyan
|
|
|
|
# white
|
|
|
|
|
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-24 13:38:27 +04:00
|
|
|
file ..\*\\.sh$ Shell\sScript ^#!.\*[\s/]([abd-z]?|ba|pdk)sh
|
2001-09-12 01:42:13 +04:00
|
|
|
include sh.syntax
|
|
|
|
|
2005-05-24 13:38:27 +04:00
|
|
|
file ..\*\\.(pl|PL|pm|PM)$ Perl\sProgram ^#!.\*[\s/]perl
|
2001-09-12 01:42:13 +04:00
|
|
|
include perl.syntax
|
|
|
|
|
2005-05-24 13:38:27 +04:00
|
|
|
file ..\*\\.(py|PY)$ Python\sProgram ^#!.\*[\s/]python
|
2001-09-12 01:42:13 +04:00
|
|
|
include python.syntax
|
|
|
|
|
2005-05-24 13:38:27 +04:00
|
|
|
file ..\*\\.(rb|RB)$ Ruby\sProgram ^#!.\*[\s/]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
|
|
|
|
|
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
|
|
|
|
|
2005-04-15 01:34:13 +04:00
|
|
|
file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk)$ Makefile
|
2001-09-12 01:42:13 +04:00
|
|
|
include makefile.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
|
|
|
|
|
2005-03-19 20:41:32 +03:00
|
|
|
file ..\*\\.([lL][uU][aA])$ LUA\sProgram
|
|
|
|
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
|