nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ebddb49041c718e569c80fba282343650307c202
parent b5f320a2f94550a189f11e3a83bdd464f34e0277
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 16 Aug 2024 14:34:40 +0200

docs: do not quote the argument of 'include' statements in sample nanorc

This avoids those arguments getting colorized as if they were regexes
(when the relevant lines are uncommented), and instead allows them to
get colorized in bold purple by a dedicated rule.

Diffstat:
Mdoc/sample.nanorc.in | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -249,12 +249,12 @@ ## For all details, see 'man nanorc', section SYNTAX HIGHLIGHTING. ## To include most of the existing syntax definitions, you can do: -# include "@PKGDATADIR@/*.nanorc" +# include @PKGDATADIR@/*.nanorc ## Or you can select just the ones you need. For example: -# include "@PKGDATADIR@/html.nanorc" -# include "@PKGDATADIR@/python.nanorc" -# include "@PKGDATADIR@/sh.nanorc" +# include @PKGDATADIR@/html.nanorc +# include @PKGDATADIR@/python.nanorc +# include @PKGDATADIR@/sh.nanorc ## In @PKGDATADIR@/extra/ you can find some syntaxes that are ## specific for certain distros or for some less common languages.