commit 5375403b9d3c49752553b3de1e3adc886e2af411
parent b0c9809a2ebdb4ee7ea1f0ef59a73f49a5346daa
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 2 Apr 2019 11:48:42 +0200
syntax: nanorc: colorize also strings preceded by 'start=' or 'end='
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/nanorc.nanorc b/syntax/nanorc.nanorc
@@ -18,7 +18,7 @@ icolor brightgreen "^[[:space:]]*(syntax|linter)[[:space:]]+[^[:blank:]]+"
icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|comment|linter|extendsyntax)\>"
# Strings
-color brightmagenta "[[:space:]]".+"([[:space:]]|$)"
+color brightmagenta "([[:space:]]|(start|end)=)".+"([[:space:]]|$)"
# Colors
icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan|normal)?(,(white|black|red|blue|green|yellow|magenta|cyan|normal))?\>"