Re: syntax highlighting rules for C++

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
On Thu, Oct 13, 2016, at 04:11, Mark Yagnatinsky wrote:
> Does anyone on this list use nano for C++?  If so, do you use the default
> highlighting rules, or something else?  The default ones sometimes treat
> templates as if they were names of header files, which is annoying.

Have you tried opening an affected file with either -Ym or -Yc?
(I don't know which syntax nano picks by default for C++ files,
as I don't "speak" the language.)

Benno

-- 
http://www.fastmail.com - Or how I learned to stop worrying and
                          love email again
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.