[mc] syntax highlight problem
Grzegorz Szymaszek
gszymaszek at short.pl
Mon Dec 19 11:36:36 UTC 2022
Hi,
On Mon, Dec 19, 2022 at 04:50:09PM +0530, freebird via mc wrote:
> AS A USER, [...] Using mcedit, spice and markdown syntax is not
> (automatically) highlighted. I can select the syntax using
> F9->options->syntax highlighting->Md File.
Do you have a Syntax file in your mc config directory? You can find the
relevant path using "mc -F", it will most likely be "~/.config/mc/". If
such file exists, does it contain something like the below?
file ..\*\\.cir$ Spice\scircuit
include spice.syntax
Spice and Markdown are relatively recent additions, so I suspect an
outdated custom Syntax file.
> AS ROOT,
> mc automatically detects ALL the files and applies the syntax.
Which version of mc do you run as root: the one you have compiled or the
one from Debian packages?
--
Grzegorz Szymaszek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20221219/f4a76bb4/attachment.asc>
More information about the mc
mailing list