scopatz / nanorc

Improved Nano Syntax Highlighting Files
Other
3k stars 549 forks source link

Widen support in nanorc.nanorc #241

Closed Tenzer closed 4 years ago

Tenzer commented 4 years ago

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 .nanorc before: before

and after: after

scopatz commented 4 years ago

thanks!