mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-16 05:14:43 +03:00
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:
parent
abafc2ba14
commit
27af34a853
@ -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:]]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user