2012-10-08 17:19:42 +04:00
|
|
|
SYNTAX_IN = Syntax.in
|
|
|
|
|
|
|
|
SYNTAX_OUT = Syntax
|
|
|
|
|
2004-12-07 02:14:43 +03:00
|
|
|
SYNTAXFILES = \
|
2009-11-03 20:50:37 +03:00
|
|
|
PKGBUILD.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
ada95.syntax \
|
2011-12-28 18:17:07 +04:00
|
|
|
as.syntax \
|
2004-10-27 17:29:51 +04:00
|
|
|
aspx.syntax \
|
2005-03-18 13:26:35 +03:00
|
|
|
assembler.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
awk.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
c.syntax \
|
2009-12-25 15:46:35 +03:00
|
|
|
cabal.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
changelog.syntax \
|
2012-07-27 10:06:32 +04:00
|
|
|
cmake.syntax \
|
2006-01-28 01:43:38 +03:00
|
|
|
cs.syntax \
|
|
|
|
css.syntax \
|
2016-09-08 14:00:29 +03:00
|
|
|
cuda.syntax \
|
2009-04-18 00:27:23 +04:00
|
|
|
cxx.syntax \
|
2017-01-29 09:48:37 +03:00
|
|
|
cython.syntax \
|
2007-08-27 10:56:47 +04:00
|
|
|
d.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
debian-changelog.syntax \
|
|
|
|
debian-control.syntax \
|
|
|
|
debian-description.syntax \
|
|
|
|
debian-sources-list.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
diff.syntax \
|
2017-01-29 09:48:37 +03:00
|
|
|
dlink.syntax \
|
2002-06-25 05:04:08 +04:00
|
|
|
dos.syntax \
|
2009-01-10 19:55:35 +03:00
|
|
|
ebuild.syntax \
|
2004-10-16 16:59:26 +04:00
|
|
|
eiffel.syntax \
|
2009-07-15 21:09:44 +04:00
|
|
|
erlang.syntax \
|
2009-04-18 00:27:23 +04:00
|
|
|
f90.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
filehighlight.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
fortran.syntax \
|
2016-08-29 21:01:09 +03:00
|
|
|
glsl.syntax \
|
2015-12-20 21:57:50 +03:00
|
|
|
go.syntax \
|
2009-01-10 16:35:31 +03:00
|
|
|
haskell.syntax \
|
2017-06-14 19:50:31 +03:00
|
|
|
hive.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
html.syntax \
|
2005-03-19 20:41:32 +03:00
|
|
|
idl.syntax \
|
2010-05-04 15:55:02 +04:00
|
|
|
ini.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
j.syntax \
|
2013-03-09 11:10:40 +04:00
|
|
|
jal.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
java.syntax \
|
2002-09-17 17:50:30 +04:00
|
|
|
js.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
latex.syntax \
|
2002-08-06 16:57:39 +04:00
|
|
|
lisp.syntax \
|
2013-03-09 11:10:40 +04:00
|
|
|
lkr.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
lsm.syntax \
|
2005-03-19 20:41:32 +03:00
|
|
|
lua.syntax \
|
2002-09-19 19:47:49 +04:00
|
|
|
m4.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
mail.syntax \
|
|
|
|
makefile.syntax \
|
|
|
|
ml.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
named.syntax \
|
|
|
|
nemerle.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
nroff.syntax \
|
2001-05-27 02:40:09 +04:00
|
|
|
octave.syntax \
|
2017-01-29 09:48:37 +03:00
|
|
|
opencl.syntax \
|
2017-01-25 12:14:23 +03:00
|
|
|
osl.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
pascal.syntax \
|
|
|
|
perl.syntax \
|
2001-09-06 09:29:07 +04:00
|
|
|
php.syntax \
|
2001-08-17 18:23:47 +04:00
|
|
|
po.syntax \
|
2005-03-18 13:26:35 +03:00
|
|
|
povray.syntax \
|
2009-04-18 00:27:23 +04:00
|
|
|
procmail.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
properties.syntax \
|
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.
2014-09-04 06:44:19 +04:00
|
|
|
puppet.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
python.syntax \
|
2017-01-29 09:51:34 +03:00
|
|
|
r.syntax \
|
2003-05-15 02:30:02 +04:00
|
|
|
ruby.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
sh.syntax \
|
2001-07-29 18:49:18 +04:00
|
|
|
slang.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
smalltalk.syntax \
|
2002-08-26 08:38:43 +04:00
|
|
|
spec.syntax \
|
2002-07-18 20:13:28 +04:00
|
|
|
sql.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
strace.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
swig.syntax \
|
2002-09-19 02:25:24 +04:00
|
|
|
syntax.syntax \
|
2002-07-10 23:56:11 +04:00
|
|
|
tcl.syntax \
|
2000-08-24 20:40:44 +04:00
|
|
|
texinfo.syntax \
|
2017-03-19 12:51:27 +03:00
|
|
|
ts.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
tt.syntax \
|
|
|
|
unknown.syntax \
|
2009-09-06 21:21:45 +04:00
|
|
|
verilog.syntax \
|
2009-01-30 20:28:26 +03:00
|
|
|
vhdl.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
xml.syntax \
|
2016-12-04 17:55:54 +03:00
|
|
|
yaml.syntax \
|
2017-01-29 09:48:37 +03:00
|
|
|
yum-repo.syntax \
|
2009-11-03 20:50:37 +03:00
|
|
|
yxx.syntax
|
2000-08-24 20:42:43 +04:00
|
|
|
|
2013-06-15 12:55:16 +04:00
|
|
|
if USE_INTERNAL_EDIT
|
2004-12-07 02:14:43 +03:00
|
|
|
syntaxdir = $(pkgdatadir)/syntax
|
2012-10-08 17:19:42 +04:00
|
|
|
syntax_DATA = $(SYNTAX_OUT) \
|
|
|
|
$(SYNTAXFILES)
|
2004-12-07 02:14:43 +03:00
|
|
|
endif
|
|
|
|
|
2012-10-08 17:19:42 +04:00
|
|
|
EXTRA_DIST = $(SYNTAX_IN) \
|
|
|
|
$(SYNTAXFILES)
|