syntax: nanorc: require whitespace both before and after a quoted string
This ensures that the keyname M-" is not miscolored.
Этот коммит содержится в:
родитель
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))?\>"
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user