Commit Graph

51 Commits

Author SHA1 Message Date
Veres Lajos
dfbb2c9430 Typo fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
45d8b20ad9 --with-edit: rename to --with-internal-edit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-02 15:29:35 +03:00
infinitum
430e1f9d35 Ticket #2855: add syntax highlighting for JAL and LKR files.
The Jal is a programming language used in PIC microcontrollers.

The lkr files determines how the gplink program works. The gplink
is part of gputils and creates PIC microcontroller program.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-03-09 11:10:40 +04:00
Sergey Y. Afonin
e80abb1ad2 Ticket #2896: support syntax highlighting for makefile with .mak extension.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-03-09 10:59:18 +04:00
Polynomial-C
a317b62848 Ticket #2950: support of ZSH config files syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-03-09 10:51:43 +04:00
Serpiph
9400cd50d4 Ticket #2962: update Fortan syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-03-05 17:00:30 +04:00
Sergei Trofimovich
45b129dd72 ebuild.syntax: add 'epatch_user' keyword
Thanks to Alexei Goncharevich and Pavel Gluschenko

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-11-06 12:13:01 +03:00
Andrew Borodin
d27a4f86ea Ticket #2888: cleanups in master branch.
Check perl, python and ruby programs and substitute them in various files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
c2ba41cdfc Ticket #2912: add psgi extension to Perl syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-08 16:52:04 +04:00
Leonid Krivoshein
ed51e5830f Ticket #2649: dlink.syntax: syntax highlighting for D-Link switches command set.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 10:17:11 +04:00
Ralesk
cac767fc44 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-07-27 10:06:32 +04:00
nafraf
b69d41d127 Ticket #2542: assembler.syntax: x86 AMD64 registers highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 09:55:29 +04:00
Victor Homyakov
3a055b4d7c 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-27 09:40:50 +04:00
Andrew Borodin
e281ca2890 Fixed regular expressions in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-29 17:34:04 +04:00
Sergei Trofimovich
ea82ca42ed ebuild.syntax: added 'pushd' and 'popd' keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-01 01:21:35 +03:00
Sergei Trofimovich
539f92cd97 misc/ebuild.syntax: added 'REQUIRED_USE', '[[' and ']]' as keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-03-23 19:03:31 +03:00
Sergei Trofimovich
a742521198 misc/syntax/cabal.syntax: added some cabal-1.8+ keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-03-09 21:16:28 +03:00
idispatch
2862589aac Ticket #2708: Added ActionScript file syntax highlighting
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-28 17:18:04 +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