syntax: python: color also the special values 'False', 'None', 'True'

And increase the contrast for the reminders, both for PO and Python.
This commit is contained in:
Benno Schulenberg
2017-12-10 14:27:21 +01:00
parent fbac4505ce
commit ddb8e95d39
2 changed files with 5 additions and 2 deletions

View File

@@ -23,8 +23,11 @@ color brightred "(^|[[:blank:]])#.*$"
color brightgreen start="'''([^'),]|$)" end="(^|[^(\])'''"
color brightgreen start="\"\"\"([^"),]|$)" end="(^|[^(\])\"\"\""
# Special values.
color brightmagenta "\<(False|None|True)\>"
# Reminders.
color ,yellow "(FIXME|TODO|XXX)"
color brightwhite,yellow "(FIXME|TODO|XXX)"
# Trailing whitespace.
color ,green "[[:space:]]+$"