From ebddb49041c718e569c80fba282343650307c202 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 16 Aug 2024 14:34:40 +0200 Subject: [PATCH] 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. --- doc/sample.nanorc.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 45e831cf..2706d6cc 100644 --- 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.