Closed ghost closed 3 years ago
PRs welcome!
I updated to the latest version of nano
(v5.3) from this page https://packages.debian.org/testing/editors/nano It's for a Debian based distro and you'll have to use a different package (try https://www.nano-editor.org/download.php)
The latest version doesn't show the error anymore. So it seems the code it's not at fault, but this project doesn't specify a minimum version of nano that it's compatible with. Perhaps adding something to the README might be a great idea.
After reading the changelog for nano the color latte
was introduced in v5.0 and the command tabgives
in v4.5.
To fix this, go to /usr/share/nano/ and edit the file zig.nanorc
nano zig.nanorc
On file put // in tabgives
just delete the zig file
@scopatz said:
PRs welcome!
I locally created two branches pre-5.0
and pre-4.5
, that quiets nano's:
Error in /home/twig/.nano/zig.nanorc on line 2: Color "latte" not understood
Error in /home/twig/.nano/zig.nanorc on line 9: Command "tabgives" not understood
Error in /home/twig/.nano/rego.nanorc on line 15: Color "purple" not understood
But I can only submit a PR that gets merged into master. They really should be merged into pre-5.0
and pre-4.5
branches.
I will submit to master, and perhaps you can create the branches on your end. Thanks.
Error in /usr/share/nano/zig.nanorc on line 2: Color "latte" not understood Error in /usr/share/nano/zig.nanorc on line 9: Command "tabgives" not understood