Commit Graph

47 Commits

Author SHA1 Message Date
Slava Zanko
f2f8ef42f0 Merge branch 'master' of ssh://www.midnight-commander.org:2222/git/mc 2009-01-11 15:24:43 +02:00
Patrick Winnertz
aeec2849d9 Merge branch 'mc-4.6' 2009-01-11 10:35:00 +01:00
Patrick Winnertz
73affe4a1b Merge branch '16_syntax_differ_c_and_cpp' into mc-4.6 2009-01-11 10:33:46 +01:00
Enrico Weigelt, metux IT service
16130f7caa 2009-01-10 Enrico Weigelt, metux ITS <weigelt@metux.de>
* syntax/Makefile.am syntax/Syntax syntax/haskell.syntax:
    added syntax definition for Haskell (taken from rhclub-tree)
2009-01-10 14:35:31 +01:00
Patrick Winnertz
6406363315 Merge branch 'mc-4.6'
Conflicts:
	syntax/Syntax
2009-01-10 11:26:04 +01:00
Patrick Winnertz
0187696480 Syntax highlighting for procmail files 2009-01-06 20:32:44 +01:00
Patrick Winnertz
213b0f6abc Add debian syntax highlightion for specific files 2009-01-06 20:24:30 +01:00
Patrick Winnertz
d07b3489b8 Add patch file which is attached to the ticket #16,
Please comment
2009-01-05 17:04:11 +01:00
Pavel Tsekov
3c4c1b9fc7 * syntax/Syntax: Enable syntax highlighting for .hpp files. 2007-11-02 14:10:27 +00:00
Pavel Tsekov
767982df31 * syntax/d.syntax: Add support for highlighting D language source files.
* syntax/Syntax: Likewise.
* syntax/Makefile.am: Likewise.
2007-08-27 06:56:47 +00:00
Roland Illig
30d603ec67 * Syntax: Files that contain "/lua" in the first line are
probably Lua source code.
	* lua.syntax: Comments may also start with "#", at least in the
	first line.
2007-06-08 07:05:23 +00:00
Pavel Roskin
16881947d3 * Syntax: Highlight Kbuild as a makefile. 2005-10-31 21:21:15 +00:00
Pavel Roskin
9932d29be7 * Syntax: Move makefile.syntax before pascal.syntax so that
Makefile.inc is highlighted as a makefile.
2005-10-31 21:13:49 +00:00
Roland Illig
c9ab4e7566 Brackets and braces have a special meaning when used in syntax definition
files.
2005-07-20 11:14:15 +00:00
Roland Illig
70cb15ff0f * Syntax: Added a comment introducing the file format, based on
the current implementation in edit/syntax.c. Changed the
	first-line regular expressions of sh, perl, python and ruby to
	also match @SH@, @PERL@, @PYTHON@ and @RUBY@.
2005-05-24 23:00:36 +00:00
Roland Illig
f9f0051c39 * Syntax: Extended the patterns for #! interpreters to match
almost everything that looks like the interpreter.
2005-05-24 09:38:27 +00:00
Pavel Roskin
bf7853c225 * syntax/Syntax: Don't highlight csh scripts. Allow using
"/usr/bin/env" instead of the full path.
2005-04-28 19:44:49 +00:00
Leonard den Ottolander
6108289e48 Catch Makefiles with capitals in extension. 2005-04-14 21:34:13 +00:00
Andrew V. Samoilov
7b01ca4626 * syntax/idl.syntax: Add syntax file for the CORBA idl.
* syntax/lua.syntax: Add syntax file for the LUA programming language.
        * syntax/Syntax: Add syntax file for CORBA idl and lua.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 17:41:32 +00:00
Andrew V. Samoilov
eadb04b532 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-18 10:26:35 +00:00
Andrew V. Samoilov
3b8d52e2b9 * syntax/Syntax: Treat QNX6 specific files with extensions qpg and
qpg.in as xml files.
2004-11-03 20:16:48 +00:00
Andrew V. Samoilov
121dbd2b1b * syntax/aspx.syntax: Add syntax file for ASP.NET.
* syntax/Syntax: Likewise.
        * syntax/Makefile.am: Likewise.
2004-10-27 13:29:51 +00:00
Roland Illig
10dbca29ab * syntax/eiffel.syntax: Add syntax highlighting rules for the
Eiffel programming language.
	* syntax/Syntax: Bind *.e with eiffel.syntax.
	* syntax/Makefile.am: Added syntax.eiffel.

	From Daniel F Moisset <dmoisset grulic org ar>
2004-10-16 12:59:26 +00:00
Dmitry Alexeyev
8cfaeb9644 Highlight *.hxx, *.h.in, *.spec.in.
From Dmitry Alexeyev <dmi_a@qnx.org.ru>
2003-12-24 07:24:57 +00:00
Pavel Roskin
615ef181db * syntax/ruby.syntax: New file - syntax for Ruby.
* syntax/Syntax: Add ruby.syntax.
* syntax/Makefile.am: Likewise.
2003-05-14 22:30:02 +00:00
Pavel Roskin
b190930e09 * syntax/Syntax: Highlight *.mc as a makefile.
* syntax/sql.syntax: Add more keywords for PostgreSQL.
2003-03-31 16:27:52 +00:00
Pavel Roskin
fafc7c6365 * syntax/cs.syntax: New file.
* syntax/Syntax: Add cs.syntax.
* syntax/Makefile.am: Likewise.
2003-02-27 21:15:44 +00:00
Pavel Roskin
d8a24ad682 * syntax/Syntax: Match *.syntax before other files to fix
highlighting of makefile.syntax.
2003-02-05 09:43:37 +00:00
Pavel Roskin
4a8f3f2c2b Highlight Perl sources with @PERL@ on the first line. 2002-12-13 08:11:25 +00:00
Pavel Roskin
93d90d68a4 * syntax/m4.syntax: New file.
* syntax/Syntax: Add m4.syntax.
* syntax/Makefile.am: Likewise.
From Vlad Romanenko <VladRomanenko@ukr.net>
2002-09-19 15:47:49 +00:00
Pavel Roskin
43b82434a3 * syntax/Syntax: Remove gobledy_gook at the beginning. Move
rules for syntax files ...
* syntax/syntax.syntax: ... here.  Add "linestart" for "file"
and "include" keywords.
* syntax/Makefile.am: Add syntax.syntax.
2002-09-18 22:25:24 +00:00
Pavel Roskin
60f735e4e3 * syntax/js.syntax: New file.
* syntax/Syntax: Add js.syntax.
From Vlad Romanenko <VladRomanenko@ukr.net>
2002-09-16 16:57:18 +00:00
Andrew V. Samoilov
c1f0765586 Associate file with "^Index: " in first line with diff.syntax 2002-09-13 19:49:44 +00:00
Pavel Roskin
a78d8d408e * syntax/spec.syntax: New file.
* syntax/Syntax: Add spec.syntax.
* syntax/Makefile.am: Likewise.
From PLD Linux Distribution with minor changes.
2002-08-26 04:38:43 +00:00
Pavel Roskin
02474a4788 Fix extension for lisp files. 2002-08-06 12:59:00 +00:00
Pavel Roskin
5669ebe342 * syntax/list.syntax: New file.
* syntax/Syntax: Add lisp.syntax.
* syntax/Makefile.am: Likewise.
From Mykolas Juraitis <juramyko@soften.ktu.lt> with minor changes.
2002-08-06 12:57:39 +00:00
Pavel Roskin
cfbf39a89e * syntax/changelog.syntax: Highlight functions without filenames.
* syntax/Syntax: Match *ChangeLog*.
2002-07-18 19:33:27 +00:00
Pavel Roskin
e58ffae223 * syntax/sql.syntax: New file.
* syntax/Syntax: Add sql.syntax.
* syntax/Makefile.am: Likewise.
From Walery Studennikov <despair@sama.ru> with minor changes.
2002-07-18 16:13:28 +00:00
Pavel Roskin
cb49475a4d * syntax/Syntax: Associate *.itcl with tcl.syntax.
* syntax/tcl.syntax: Add itcl keywords, other improvements.
2002-07-16 04:24:35 +00:00
Pavel Roskin
1b5fdb4a33 * syntax/tcl.syntax: New file.
* syntax/Syntax: Add tcl.syntax.
* syntax/Makefile.am: Likewise.
* syntax/java.syntax: Don't treat #define separately from other
preprocessor directives.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2002-07-10 19:56:11 +00:00
Pavel Roskin
99a8519d81 Remove space in pattern for dos.syntax entry. 2002-07-05 03:58:35 +00:00
Pavel Roskin
ee328658a6 * syntax/dos.syntax: New file - highlighting for DOS batch
files.  From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add dos.syntax.
* syntax/Makefile.am: Likewise.
2002-06-25 01:04:08 +00:00
Andrew V. Samoilov
6fd3330f37 * syntax/Syntax: Replace ^Syntax$ with [Ss]yntax$ and add
first line regular expression.
2002-03-27 15:35:52 +00:00
Andrew V. Samoilov
6b6a850816 * syntax/Syntax: Match ^Syntax$ for Syntax Highlighting. 2002-03-22 08:46:53 +00:00
Pavel Roskin
764730910e * syntax/Syntax: Known Delphi/Kylix source file extensions
supported (*.dpr, *.inc).
* syntax/pascal.syntax: Many new (Delphi/Kylix) keywords added.
Special highlighting of CVS macros.  Understands single-line
comments (//).
2002-01-28 22:37:36 +00:00
Pavel Roskin
e97b30ad04 * syntax/xml.syntax: New file - hightlighting for XML.
From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add xml.syntax.
* syntax/Makefile.am: Likewise.
2002-01-11 05:51:32 +00:00
Pavel Roskin
fad8bcf073 * syntax/Syntax: New file, extracted from edit/syntax.c.
* syntax/Makefile.am: Add Syntax.
2001-09-11 21:42:13 +00:00