Commit ddb8e95d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

And increase the contrast for the reminders, both for PO and Python.
No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
......@@ -24,6 +24,6 @@ color brightmagenta "%([1-9]\$)?[a-z]*"
color yellow "\""
color cyan "\\n"
# Reminders.
color ,yellow "(FIXME|TODO|XXX)"
color brightwhite,yellow "(FIXME|TODO|XXX)"
# Obsolete strings.
color red "#~.*$"
......@@ -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:]]+$"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment