[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More colors?
From: |
Seb |
Subject: |
More colors? |
Date: |
Fri, 22 Nov 2019 12:50:25 +0100 (CET) |
User-agent: |
Alpine 2.20 (DEB 67 2015-01-07) |
Hello,
The Nano man page online refers to "set functioncolor" to get the
exhaustive list of available colors: white, black, blue, green, red, cyan,
yellow and magenta (+"normal").
On my terminal, the text's color is cyan4. Nano has no problem with that
because the color is set by URxvt, not by Nano.
When I program, I'd like the comments (starting with "#") to be in a
slightly different color, such as cyan2, through the syntax coloring
scheme. It is then that Nano's limitations on colors strike. A
configuration directive such as
color cyan2 "([^\\]|^)#.*"
color "#fff" "([^\\]|^)#.*"
produces an error.
Is there a way around this that I did not find?
Or is there a plan to introduce more colors, by name or by hex code?
Kind regards,
Sébastien.