Commit Graph

106 Commits

Author SHA1 Message Date
Pavel Roskin
5119a17008 Fixes from "Juan Crist?bal Olivares C." <juancri@TAGnet.org> 2003-09-09 22:50:59 +00:00
Marco Ciampa
debb223eaf Updated ruby and perl sintax files. 2003-05-16 09:35:51 +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
7e31c4e83c * syntax/sh.syntax: Highlight "find". Highlight whole string
after "#!".  Make unrecognized text inside `` less bright.
2003-03-22 04:38:58 +00:00
Pavel Roskin
8cf02b5559 * syntax/c.syntax: Allow integer specifiers for %x and %X in C
format strings.
* syntax/cs.syntax: Likewise.
* syntax/java.syntax: Likewise.
* syntax/ml.syntax: Likewise.
* syntax/php.syntax: Likewise.
* syntax/python.syntax: Likewise.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2003-03-15 04:41:19 +00:00
Pavel Roskin
5a3d2c562e * syntax/spec.syntax: Add BuildArch. 2003-03-06 13:48:23 +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
c8f5d1a7f5 * syntax/syntax.syntax: Highlight "define". 2003-02-26 19:31:07 +00:00
Andrew V. Samoilov
148f864e4e Highlight "time" command. 2003-02-21 09:45:27 +00:00
Pavel Roskin
3cf9a2aabf * syntax/c.syntax: Highlight C++ comments in preprocessor
directives.
Reported by Oswald Buddenhagen <ossi@kde.org>
2003-02-18 08:03:13 +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
620bf270aa * syntax/c.syntax: Revert highlighting trailing whitespaces. 2003-02-05 07:44:49 +00:00
Pavel Roskin
40734f6a14 * syntax/nroff.syntax: Make colors more compatible with the
highlighting used in the internal viewer - yellow for bold and
brightred for italic.
2003-01-31 20:39:33 +00:00
Andrew V. Samoilov
9604cb48c6 * syntax/c.syntax: Highlight trailing whitespace(s). 2003-01-31 13:00:21 +00:00
Pavel Roskin
9e24e41f9e * syntax/perl.syntax: Add separate context for function
declarations and definitions, highlight prototypes.
2002-12-19 21:32:34 +00:00
Pavel Roskin
4a8f3f2c2b Highlight Perl sources with @PERL@ on the first line. 2002-12-13 08:11:25 +00:00
Pavel Roskin
759125c6c7 * syntax/sql.syntax: Add highlighting for dot and backticks. 2002-11-26 21:48:20 +00:00
Andrew V. Samoilov
113eb6f664 * syntax/ada95.syntax: Highlight "then" and "else".
From Victor Porton <porton@ex-code.com>.
Higlight "exit".
2002-11-07 08:37:17 +00:00
Pavel Roskin
e88e193c5e * syntax/diff.syntax: Revert highlighting for trailing spaces
on the added lines - it extends the context to the next line.
2002-10-31 21:58:55 +00:00
Andrew V. Samoilov
1915b99fc0 Highlight trailing whitespace(s) of the inserted lines 2002-10-29 13:52:15 +00:00
Pavel Roskin
bba809f2e9 * syntax/syntax.syntax: Fix highlighting for "gray". 2002-10-02 19:25:48 +00:00
Pavel Roskin
31093df1bc * syntax/mail.syntax: Replace "wholechars right" and "wholechars
left" with single "wholechars".
* syntax/nroff.syntax: Likewise.
* syntax/sh.syntax: Likewise.
* syntax/tcl.syntax: Likewise.
2002-09-29 20:28:41 +00:00
Pavel Roskin
0d82a635b3 * syntax/*.syntax: Remove numeric Cooledit colors. It's
unreasonable to require them to be correct.  On the other hand,
Cooledit can easily be changed to accept named color names.
2002-09-29 20:22:23 +00:00
Pavel Roskin
e27a164ec9 * syntax/syntax.syntax: Don't require Cooledit colors for
highlighting color names.  Remove Cooledit colors.
2002-09-29 20:09:12 +00:00
Pavel Roskin
b8d30f75bb Improve formatting. 2002-09-29 19:55:39 +00:00
Pavel Roskin
0fc184aead Forgot to replace wholeleft with whole after removing
parentheses from the internal macros.
2002-09-29 19:51:53 +00:00
Pavel Roskin
4ad6e7a0cc * syntax/m4.syntax: Don't use yellow color on parentheses, since
it interferes with parentheses highlighting.  Remove list of
supported Autoconf macros.
2002-09-29 19:49:16 +00:00
Pavel Roskin
9cdc12b33d * syntax/syntax.syntax: Remove highlighting for numbers - it's
for Cooledit only.
2002-09-27 04:16:00 +00:00
Pavel Roskin
dee854b21e * syntax/c.syntax: Require at least one space at the beginning
of indented cpp directives.  Use brightmagenta for them.
2002-09-27 04:00:30 +00:00
Pavel Roskin
3e7f74c588 * syntax/syntax.syntax: Don't start keywords with "[" - it
doesn't work.  Use "[]" at the end of keywords to suppress
their special meaning.
2002-09-27 03:33:39 +00:00
Andrew V. Samoilov
de8ccb62fd Allow whitespace(s) before # 2002-09-26 06:20:55 +00:00
Andrew V. Samoilov
30442e7d0b Don't highlight "linstart" 2002-09-25 13:26:06 +00:00
Andrew V. Samoilov
e28f9e52f7 Add "linestart" for "spellcheck" and "keyword". Allow whitespace(s) before "context *", "keyword" and "spellcheck" 2002-09-25 13:17:39 +00:00
Pavel Roskin
748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +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
542d4b681a * syntax/sql.syntax: Only recognize non-standard MySQL comments
at the beginning of string.
2002-09-19 13:23:56 +00:00
Andrew V. Samoilov
c4b3002022 * syntax/syntax.syntax: Add "linestart" for "context",
"context default" and "context exclusive" keywords.
* syntax/c.syntax: Fix "%s" highlighting for "%-19s"
and "%5.5s" formats.
2002-09-19 11:09:57 +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
08c20906f7 s/highliting/highlighting/ 2002-09-18 15:23:44 +00:00
Pavel Roskin
a670175b2b * syntax/js.syntax: Advanced number highliting. 2002-09-17 22:43:32 +00:00
Pavel Roskin
8aee83616a * syntax/c.syntax: Highlight "?" by the same color as ":".
* syntax/java.syntax: Likewise.
* syntax/swig.syntax: Likewise.
* syntax/python.syntax: Remove duplicate keyword ":".
2002-09-17 22:39:04 +00:00
Pavel Roskin
f5f367c5ed * syntax/Makefile.am: Add js.syntax. 2002-09-17 13:50:30 +00:00
Pavel Roskin
1c08ee7e6b Remove highlighting for percents. It's not HTML, sorry! 2002-09-16 17:03:49 +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
2b08a6ae73 Add trap and read 2002-09-13 20:59:08 +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
0ab6c80efd * syntax/sh.syntax: Fix highlighting of "<<-EOF".
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-08-16 22:28:13 +00:00
Andrew V. Samoilov
64cb753187 * syntax/sh.syntax: Highlight alias, bg, eval, exec, export, fg,
set, umask and unset like other builtin commands.
2002-08-16 09:17:11 +00:00