syntax: nanorc: colorize also strings preceded by 'start=' or 'end='

master
Benno Schulenberg 2019-04-02 11:48:42 +02:00
parent b0c9809a2e
commit 5375403b9d
1 changed files with 1 additions and 1 deletions

View File

@ -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))?\>"