Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Borodin
5477385d40 Check perl, python and ruby programs and substitute them in various files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-12-21 12:50:30 +04:00
Andrew Borodin
5893280248 Ticket #2912: add psgi extension to Perl syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-08 16:55:14 +04:00
Leonid Krivoshein
0a42d171ad Ticket #2649: dlink.syntax: syntax highlighting for D-Link switches command set.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 16:07:22 +04:00
Ralesk
6d8b82b845 Ticket #2084: cmake.syntax: preliminary syntax file for CMakeLists.txt files.
It's nowhere near complete, but it's better than nothing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 16:06:52 +04:00
nafraf
d5fceb9310 Ticket #2542: assembler.syntax: x86 AMD64 registers highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:29:53 +04:00
Victor Homyakov
1d82709c48 Ticket #1869: properties.syntax colors are difficult to read.
Syntax file properties.syntax used very dark color for keys (cyan is
almost invisible on default MC background), and bright color for
delimiters (yellow), which made highlighted file difficult to read.

Change keys color to yellow.
Change delimeters color to bright cyan.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:27:54 +04:00
Sergei Trofimovich
a29c6150b9 ebuild.syntax: added 'pushd' and 'popd' keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-04 14:03:23 +04:00
idispatch
bd6afefeee Ticket #2708: Added ActionScript file syntax highlighting
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-08 10:45:16 +03:00
Sergei Trofimovich
a4fbaf95ff syntax/lua: highlight '\\' escape (and similar) properly
The following example breaks highlighting to the end of file:
    local a = "\\"
    local b = 1
    ...

Added escape handling for simplest cases both for
single-quoted and double-quoted literals:
    '\\', '\n' (and similar), '\d', '\dd', '\ddd'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2011-11-16 08:44:33 +03:00
SZABÓ Gergely
0865031bea Lex/Flex sources (extension .l) handled by yxx.syntax. Yacc/Bison syntax completed with all symbols. 2011-10-31 23:09:19 +03:00
Slava Zanko
0138645541 Ticket 1551: Update GPL version from 2 to 3
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-10-18 14:08:34 +03:00
Mikhail S. Pobolovets
2b10373e02 Ticket #2531: wrong rules precedence
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-14 12:04:07 +03:00
Mikhail S. Pobolovets
ee001dd96f Added new keyword to Ruby syntax
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-12 11:45:41 +03:00
Slava Zanko
2712ec2ca8 Changes for respect new 'HARDLINK' highlight type.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-18 15:20:34 +02:00
Ilia Maslakov
8def8ec662 Ticket #2427 (cython syntax highlighting)
added rules for cython syntax highlighting

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 14:58:14 +00:00
Slava Zanko
fcc98371d6 Removed unneded utility mcmfmt
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Andrew Borodin
51f28528f6 Ticket #1424: install some files into /usr/share/mc instead of /etc/mc.
RPMLint shows the following warnings:
mc.i586: W: conffile-without-noreplace-flag /etc/mc/Syntax
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.lib
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.charsets

First step: install Syntax into /usr/share/mc instead of /etc/mc.
This also fixes the impossibility of editing of system-wide Syntax file
in mcedit under root (menu Options->Syntax file->System Wide).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Mikhail S. Pobolovets
dbf74727ca Ruby syntax fix
* added highlight for ruby symbols

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-13 09:54:14 +03:00
Mikhail S. Pobolovets
d9ac6384b5 Ruby syntax update
* fixed include? keyword
    * fixed $ in the end of regexps

Valid highlighting of regexps can't be done with syntaxcolor.
Ruby uses '/' to divide numbers and for defining regexps.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-12 20:57:40 +03:00
Mikhail S. Pobolovets
9cd7a04b54 CSS syntax update
* fixed some bugs
    * removed duplicates
    * added some new keywords

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-12 20:26:43 +03:00
Sergei Trofimovich
4abeb610fd misc/syntax/ebuild.syntax: added EGIT_PROJECT to list of known words
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-06-26 17:44:58 +03:00
Igor Zubkov
bbe8e8d40e Ticket #1446: Added highlighting for HTTPS URLs.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-06-25 00:05:06 +02:00
Yury V. Zaytsev
4ce950c225 Ticket #2127: updated file extension for "sh"
Removed spurious bash_userstuff from the regexp.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-05 16:24:14 +04:00
Slava Zanko
1eba5407ab Some fixies of ini.syntax (added default color)
also, misc/syntax/Makefile.am changed for install ini.syntax into system

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 16:43:12 +02:00
Karsten Hilbert
1243fc6fd7 Ticket #2126: DOS style INI files syntax
I am attaching a proposed syntax highlighting definition for
- gasp - DOS style INI files.

I'd love to set the

    option

part in

    option = value

to some other color, too, but didn't find the proper syntax
for that.

Karsten

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-04 16:43:12 +02:00
Michelle Konzack
b3315acf55 Ticket #2127: updated file extension for "sh"
I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line in Syntax which now
coloriser my BaSH configs nicely...

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-25 14:45:44 +02:00
Mikhail S. Pobolovets
6f6ea1bc88 Normalized formating for syntax files
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 19:24:13 +03:00
Mikhail S. Pobolovets
5112cdc727 Asm syntax: redundant rules removed and some missed registers added
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 16:36:49 +03:00
Mikhail S. Pobolovets
ae517852b0 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-04-04 13:46:58 +03:00
Andrew Borodin
c8dae6fd8f Added extensions_case keyword in filehighlight.syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 10:18:45 +04:00
Mikhail S. Pobolovets
e8ef170590 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-03-14 11:17:48 +02:00
Mikhail S. Pobolovets
a99dc516e6 Small update: two new keywords for cabal syntax 2010-03-09 16:25:21 +02:00
Mikhail S. Pobolovets
8c0cfebbc1 Syntax files normalization
* tabs are replaced with spaces
    * trailing spaces are removed
2010-03-05 20:37:48 +02:00
Mikhail S. Pobolovets
33b7a382ea Syntax files for case insensitive languages has been updated
* 'caseinsensitive' option is on
    * redunt rules are removed

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-05 18:07:07 +02:00
Mikhail S. Pobolovets
c330f876cf Ticket #2060: Cabal syntax update
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 19:27:22 +02:00
Mikhail S. Pobolovets
9537ff6fe0 Ticket #1770: added switch 'caseinsensitive' for syntax highlighting
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:42:58 +02:00
Benny Pedersen
110977b161 Ticket #2010: Missing \s in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-07 14:12:23 +03:00
Andrew Borodin
8a97f22f30 Revert "Ticket #1987: added Cobol syntax highlighting."
This reverts commit a8d75fce1e.

The Cobol syntax description in misc/syntax/Syntax file
breaks highlighting of other syntaxes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-05 12:05:27 +00:00
Franz Wuerl
a8d75fce1e Ticket #1987: added Cobol syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 14:35:55 +00:00
Andrew Borodin
e53f22a4c0 Syntax highlighting: added .HPP extension to the list of C/C++ sources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-26 16:39:30 +00:00
Slava Zanko
630efbd59a Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00