I like portability between systems and I was trying to make my 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:
The code I used is a bit of a cheat. I color 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?
