Syntax highlighting in Midnight Commander viewer

4.8k views Asked by At

I would like to mc viewer (mcview, run by F3 key) highlights my C++ code. Is it possible?

For editing (mcedit, F4 key) I am using vim with its own syntax highlighting. For viewing, I can't find such option. There is

editor_syntax_highlighting=1

Which can be changed in ~/.mc/ini or ~/.config/mc/ini but it's obviously related with built-in mcedit, not the viewer. Is there something like viewer_syntax_highlighting=1 or any other way how to highlight syntax in viewer?

1

There are 1 answers

5
phd On BEST ANSWER

Viewer doesn't do syntax highlighting, only Editor does.