commit f773fa3968382aff67b05b0f7a53e3994889ce30
parent 288355686bffeee9366f5e80d6d951573f0334f1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 14 Aug 2019 09:18:51 +0200
syntax: default: colorize bracketed section headers in some config files
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/syntax/default.nanorc b/syntax/default.nanorc
@@ -15,3 +15,6 @@ color brightred "(GNU )?[Nn]ano [1-4]\.[0-9][-.[:alnum:]]*\>"
# Email addresses.
color magenta "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>"
+
+# Bracketed captions in certain config files.
+color brightgreen "^\[.*\]$"