I've had to move the higlighting of colors above the keywords in order to be able to highlight colors for the set commands which support colors, this is due to ERE's lack of non-capturing groups.
Here's a screenshot of nano showing my .nanorc before:
This adds highlighting of all the keywords listed on https://www.nano-editor.org/dist/latest/nanorc.5.html and also adds the "normal" color.
I've had to move the higlighting of colors above the keywords in order to be able to highlight colors for the
set
commands which support colors, this is due to ERE's lack of non-capturing groups.Here's a screenshot of nano showing my![before](https://user-images.githubusercontent.com/68696/61991861-194e2480-b04e-11e9-996f-b3d776d0ceab.png)
.nanorc
before:and after:![after](https://user-images.githubusercontent.com/68696/61991864-1e12d880-b04e-11e9-8084-c48946c40cc5.png)