help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-nano] Bash syntax highlighting: Quoted text in comments


From: Michael Siegel
Subject: [Help-nano] Bash syntax highlighting: Quoted text in comments
Date: Sat, 17 Feb 2018 04:29:13 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]