Bash syntax highlighting: Quoted text in comments

Michael Siegel <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Hello,

I've found that nano has kind of an annoying way of highlighting quoted
text within comments in Bash scripts.

While the comments themselves are colored in cyan, quoted text within
them will be given the standard string color, which is bright yellow.

For example, try this:

  #!/bin/bash

  # Let's see if this won't happen.

What you'll get is "# Let" in cyan, "'s see if this won'" in yellow and
the rest in cyan again.

I suppose this is a known issue. Maybe it has already been fixed in
versions newer than the one I'm using (2.7.4). If not, what's the
problem and is someone trying to fix it?


Best,

Michael
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.