syntax: default: colorize comments as one of the last things

So that URLs in comments don't get specially colored.
This commit is contained in:
Benno Schulenberg 2021-12-10 12:32:17 +01:00
parent abafc2ba14
commit 27af34a853

View File

@ -4,9 +4,6 @@
syntax default
comment "#"
# Comments.
color cyan "^[[:blank:]]*#.*"
# Spaces in front of tabs.
color ,red " + +"
@ -26,5 +23,8 @@ color lightblue "\<https?://\S+\.\S+[^[:space:],.)]"
# Bracketed captions in certain config files.
color brightgreen "^\[[^][]+\]$"
# Comments.
color cyan "^[[:blank:]]*#.*"
# Control codes.
color orange "[[:cntrl:]]"