mc/misc
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
..
ext.d Ticket #1539: Dealing with utf-8 man pages in view/open 2014-09-02 14:33:51 +03:00
macros.d
skins Ticket #3244: add viewbold and viewselected missing from some skins. 2014-09-02 15:32:36 +04:00
syntax Ticket 3266: Add puppet manifest syntax support - use .pp extension (was used for Pascal highlighting) 2015-01-12 17:58:01 +03:00
.gitignore
edit.indent.rc Ticket #2274: adjust script permissions to installed ones. 2014-01-26 13:38:48 +04:00
filehighlight.ini
Makefile.am Ticket #3243: "User menu -> View manual page" doesn't do coloring 2014-09-04 13:01:40 +03:00
mc.charsets
mc.default.keymap Ticket #3228 (select/unselect files with the same extension as the current file) 2014-09-25 15:07:55 +04:00
mc.emacs.keymap Ticket #3228 (select/unselect files with the same extension as the current file) 2014-09-25 15:07:55 +04:00
mc.ext.in Recognize "Java archive data (JAR)" as zip archive. 2014-12-10 12:57:47 +03:00
mc.keymap Rename keymap files to be with .keymap suffix. 2013-03-09 16:04:51 +04:00
mc.lib Ticket #2978: support Shift+Fn keys for 256-color mode of tmux 2014-02-22 15:21:27 +04:00
mc.macros
mc.menu.in Fix for viewving man pages in colour mode. 2014-09-04 16:31:49 +03:00
mc.menu.sr.in Fix for viewving man pages in colour mode. 2014-09-04 16:31:49 +03:00
mcedit.menu.in Fix for viewving man pages in colour mode. 2014-09-04 16:31:49 +03:00
xterm.ad