scopatz / nanorc

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

nano highlight in centos understood error #315

Open ahmadrezash opened 4 years ago

ahmadrezash commented 4 years ago

hi In centos server I install this plugin but it has error for all lang before loading highlighting conf file(lang.nanorc)

it's like that: Error in /root/.nano/ruby.nanorc on line 6: Command "linter" not understood Error in /root/.nano/sh.nanorc on line 6: Command "comment" not understood Error in /root/.nano/makefile.nanorc on line 4: Command "comment" not understood

and in addition it has error for color pallete.

like that: Valid colors are "green", "red", "blue", "white", "yellow", "cyan", "magenta" and "black", with the optional prefix "bright" for foreground colors.

what can I do?

davidhcefx commented 4 months ago

Looks like it's a versioning problem. Maybe you'll want to try out different branches, for example branch v2.9.

See: https://github.com/scopatz/nanorc/issues/349