Commit Graph

38 Commits

Author SHA1 Message Date
Vadim Illarionov
37fcb210f2 Ticket #4022: misc/syntax/Syntax.in: add .desktop file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-11-04 11:42:47 +03:00
Andrew Borodin
37f8927bfc misc/syntax/Syntax.in: join ini-base files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-11-04 11:36:55 +03:00
Marc Ihm
e79391a0f8 Ticket #4005: add yabasic syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-17 10:14:44 +03:00
Vadim Illarionov
61e390dfc7 Use ini.syntax for systemd cofiguration files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-03-11 11:40:53 +03:00
Vadim Illarionov
359129b524 Ticket #3975: expand syntax highlighting rules.
Expand file name regexp for sh.syntax.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-03-11 11:37:41 +03:00
Andrew Borodin
5a2730ae8c misc/syntax/Syntax.in: simplify regex for PO and CUDA syntaxes. 2018-11-24 14:40:42 +03:00
Andrew Borodin
5ca9943cf3 misc/syntax/Syntax.in: fix regex for Meson syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Vitold S
49945f40c8 Ticket #3940: add Meson syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-15 14:33:20 +03:00
Yury V. Zaytsev
a778825d0e Ticket #3890: syntax - add mjs extension to JavaScript pattern
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-12-23 20:09:17 +01:00
Andrew Borodin
4fcc19b581 Syntax.in: fix pattern for Ruby program. 2017-12-18 11:01:35 +03:00
Igor Shaula
3a5da75181 Ticket #3884: mceditor: syntax: add rust.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-07 13:58:07 +03:00
Andrew Borodin
e1ee3a2465 Syntax.in: simplify pattern for HiveQL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Sergey Naumov
aff3834dc3 Ticket #3868: syntax: add Protocol Buffers and gRPC support.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:35:32 +03:00
Grzegorz Szymaszek
26ecb44e1d Ticket #3864: initial support of Markdown syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:32:46 +03:00
Andrew Borodin
f3187c8930 Syntax.in: simplify some patterns.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-06-21 10:31:32 +03:00
Andrew Borodin
c8b99bb083 Ticket #3829: Syntax.in: simplify case insensitive patterns.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-06-21 10:31:32 +03:00
Mike L
f603cd3e16 Ticket #3828: syntax: Apache Hive query language
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-06-16 13:46:52 +02:00
Oleksandr Sidko
b1e16edd5a Ticket #3794: syntax: TypeScript support (closes MidnightCommander/mc#122)
Signed-off-by: Oleksandr Sidko <mortiy@gmail.com>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-03-19 10:40:07 +01:00
Alexey Shipunov
a4f05e5123 Initial support of R syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-01-29 09:54:24 +03:00
Sergey Sharybin
d02abd003a Ticket #3762: initial support of OpenShadingLanguage highlighting.
Based on C syntax with some extra keywords gathered from OSL's lexer rules.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-01-29 09:40:31 +03:00
Andrew Borodin
079d989877 misc/syntax/Syntax.in: fix patterns.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-01-22 18:44:22 +03:00
Mooffie
54a0ccecaa Ticket #3293: YAML syntax fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-12-06 11:19:16 +03:00
Roman Belda
055a8c6a4f Ticket #3293: add YAML syntax highlighting. 2016-12-04 17:56:27 +03:00
Sergey Sharybin
0fe1eca733 Ticket #3690: initial support of OpenCL syntax highlighting.
Based on opencl-mode from Emacs with some own tweaks.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-11-21 14:30:20 +03:00
Sergey Sharybin
97430c1fa4 Ticket #3691: mcedit: disassociate .cl file extension from LISP syntax.
According to the LISP users this file extension can only be
seen in old projects and nowadays it's much more common in
the computer graphics applications for the OpenCL programs.

This is a part of work related on adding OpenCL syntax highlight
to mcedit. See tocket #3690 for the details.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-11-21 14:26:01 +03:00
Yury V. Zaytsev
f3509db2bc syntax: highlight *.t (Perl test) files as Perl scripts
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-11-13 16:22:02 +01:00
Sergey Sharybin
9c3fe04114 Ticket #3686: initial support of CUDA syntax highlighting.
Based on existing cxx.syntax file with some extra keywords added.

Colors could be tweaked a bit still, and perhaps list of keywords
and built-in types could be extended further, but it should be a
good starting point already.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-09-11 11:13:51 +03:00
Sergey Sharybin
834c09a283 Ticket #3683: initial support of GLSL syntax highlighting.
This is an initial support of GLSL syntax highlight for mcedit.
Keyword and and built-in function lists are based on glsl-mode.el
from emacs (which is originally written by Xavier Decoret and
Jim Hourihan).

Supports GLSL 4.5.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-08-31 11:06:28 +03:00
Mooffie
b218a28a45 mcedit: syntax: associate node executables with JavaScript syntax.
Some distros name the binary 'nodejs', some 'node'.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-07-29 09:32:04 +03:00
Eugene San (eugenesan)
549efda171 mceditor: syntax: add golang
Based on http://go-lang.cat-v.org/text-editors/mcedit/
2016-01-01 17:44:26 +04:00
Mooffie
68849625cf Ticket #3471: improve Lua syntax highlighting.
* Support for "long" strings/comments.
* Fixed Syntax.in to recognize both "#!/path/to/lua"  and "#!/usr/bin/env lua".
* Fixed langauge name (it's "Lua", not "LUA").

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-18 21:17:40 +03:00
Bostjan Skufca
17dddbbfda Ticket 3266: Add puppet manifest syntax support - use .pp extension (was used for Pascal highlighting)
Support for puppet manifest highlighting was kindly
provided by Sergey Zhuga, original is here:
https://github.com/scrill/puppet-syntax-mcedit

Mr. Zhuga agreed with inclusion in mainstream MC:
https://github.com/scrill/puppet-syntax-mcedit/issues/2

Reasons to favor puppet syntax over pascal for .pp files:
---------------------------------------------------------
I will not argue whether in 2014 pascal is still being used or not,
and to what extent. I would like to point out that whoever is using
any variation of pascal for any serious development, is probably not
using 'mcedit' as an IDE. Instead, this development activity is
probably situated in nice, fully-featured graphical IDE.

Platform wise, judging by the weekly download statistics of FreePascal
at SourceForge, at this moment more than 80% of all downloads are for
Windows environents. On the other hand Midnight Commander is Linux
based. Considering this in combination with speculation from the
previous paragraph, there seems to be only a small chance that 'mcedit'
is being used as an editor of choice for pascal development.

On the contrary, puppet currently certainly does have wider audience
amongst sysadmins, who regularly use Linux. Puppet master requires a
server (usually) and quite a few sysadmins edit files directly on
servers that act as puppet masters for puppet development
environments.

When accessing these servers remotely, mcedit comes very handy for
quick edits here and there. Also keep in mind that puppet files are
normally not very large. Therefore actual IDE would be an overkill and
'mcedit' does the job quite ok, but syntax highlighting would be
much appreciated.

To sum it up:
If we speculate about the *actual* usage of 'mcedit', I do believe that
a wider audience would benefit by having .pp files highlighted by
default with puppet syntax definition instead of pascal syntax
definition.
2015-01-12 17:58:01 +03:00
Ulya Fokanova
6951e39590 Ticket #3216: improve CMake syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-07-25 09:33:44 +04:00
tiandrey
b34e1d2988 From ticket #3057: Update for Syntax.in file
This patch fixes syntax highlighting for files in .config directory
(I was wondering why my rc.lua file in ~/.config/awesome is highlighted
as 'Java File' while in /etc/xdg/awesome it was highlighted correctly).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-11-25 13:47:39 +04: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
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