1
1

syntax: nanorc: require whitespace both before and after a quoted string

This ensures that the keyname M-" is not miscolored.
Этот коммит содержится в:
Benno Schulenberg 2019-04-01 17:24:19 +02:00
родитель e5a8c35104
Коммит f8e0320722

Просмотреть файл

@ -18,7 +18,7 @@ icolor brightgreen "^[[:space:]]*(syntax|linter)[[:space:]]+[^[:blank:]]+"
icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|comment|linter|extendsyntax)\>" icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|comment|linter|extendsyntax)\>"
# Strings # Strings
color brightmagenta "".+"([[:space:]]|$)" color brightmagenta "[[:space:]]".+"([[:space:]]|$)"
# Colors # 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))?\>" 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))?\>"