scopatz / nanorc

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

Many different error when include all syntaxes rules #263

Closed michaelsogos closed 4 years ago

michaelsogos commented 4 years ago

Hi @scopatz ,

When i make a file to include every file .nanorc i encounter following error.

Error in /root/.nano/etc-hosts.nanorc on line 11: Color "normal" not understood.
Valid colors are "green", "red", "blue",
"white", "yellow", "cyan", "magenta" and
"black", with the optional prefix "bright"
for foreground colors.

Error in /root/.nano/html.nanorc on line 5: Command "comment" not understood

Error in /root/.nano/html.j2.nanorc on line 5: Command "comment" not understood

Error in /root/.nanorc on line 91: Error reading /*.nanorc: No such file or directory

Press Enter to continue starting nano.

On CentOS 7.3 and Nano 2.3.1.

SuperSandro2000 commented 4 years ago

Use a newer nano. Current release version from https://www.nano-editor.org/ is 4.5.

scopatz commented 4 years ago

Yeah, Or try using the v2.9 branch.