I like portability between systems and I was trying to make my
The code I used is a bit of a cheat. I color
nano
editor look as much as possible like Sublime Text (on Linux Mint). I want to color function names too. So far I managed to make it as shown in the picture:

void
itself and the space after until the next space:
color brightyellow start="void " end="[ ]"
color cyan "void"
The reason I color it twice is that it makes void
bright yellow too, plus it works only if I write my code like:
void fu (void);
with a space between fu
and (
.
However, if I write the code as:
void fu(void);
it breaks.
My question is how do I write start="void " end="("
in c.nanorc
, in such a way to start from void
to (
but ignore the words themselves?
Asked by Spiritus
(21 rep)
May 13, 2021, 11:34 AM
Last activity: May 13, 2021, 12:45 PM
Last activity: May 13, 2021, 12:45 PM