scopatz / nanorc

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

Mistakes in '/usr/share/nano-syntax-highlighting/nanorc.nanorc' error message #410

Open D3vil0p3r opened 1 year ago

D3vil0p3r commented 1 year ago

When a generic file is opened by nano on Arch Linux, the following message appears at the bottom part of the file view:

Mistakes in '/usr/share/nano-syntax-highlighting/nanorc.nanorc' error message

This message disappears if, in /usr/share/nano-syntax-highlighting/nanorc.nanorc the line containing icolor brightnormal " brightnormal" is commented or deleted.

Please fix it by https://github.com/scopatz/nanorc/pull/399

userx-bw commented 1 year ago

I got the same thing commented it out then it goes away of course

nano -c /home/userx/.nano/nanorc.nanorc Error in /home/userx/.nano/nanorc.nanorc on line 26: Color 'normal' takes no prefix

okanisis commented 6 months ago

fixed in #399 by a friendly contributor

waiting for merge =)

davidhcefx commented 4 months ago

Hey guys, please also try out galenguyer/nano-syntax-highlighting. It already fixed this issue in: https://github.com/galenguyer/nano-syntax-highlighting/commit/9d65eb43e6af83db778156a62aa1601e3d3b8fce