Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 11028  / 3 Years ago, fri, october 1, 2021, 6:15:20

Where can I find a complete list of supported colors used in syntax highlighting for the GNU Nano text editor? I've looked through the man pages, and it gave the syntax for defining syntax coloring, but didn't provide a color reference.


More From » colors

 Answers
0

man nanorc(5):



color fgcolor,bgcolor regex


For the currently defined syntax,
display all expressions matching the extended regular expression regex
with foreground color fgcolor and background color bgcolor, at least
one of which must be specified. Legal colors for foreground and
background color are: white, black, red, blue, green, yellow, magenta,
and cyan
. You may use the prefix "bright" to force a stronger color
highlight for the foreground. If your terminal supports transparency,
not specifying a bgcolor tells nano to attempt to use a transparent
background.



[#33051] Friday, October 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ttarum

Total Points: 417
Total Questions: 101
Total Answers: 115

Location: Maldives
Member since Wed, Nov 4, 2020
4 Years ago
ttarum questions
Sat, Aug 20, 22, 12:42, 2 Years ago
Wed, Sep 28, 22, 18:07, 2 Years ago
Mon, Feb 7, 22, 20:23, 2 Years ago
;