syntax: nanorc: avoid colorizing #rgb codes as if they were comments
Demand that trailing comments (which are not really supported anyway) have a space or tab after their hash mark.master
parent
9a778f9a00
commit
90946c5e9e
|
@ -29,7 +29,7 @@ color magenta "^[[:blank:]]*i?color\>|[[:blank:]](start=|end=)"
|
||||||
color bold,pink "[[:cntrl:]]"
|
color bold,pink "[[:cntrl:]]"
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color brightblue "(^|[[:blank:]]+)#.*"
|
color brightblue "^[[:blank:]]*#.*|[[:blank:]]#[[:blank:]].*"
|
||||||
color cyan "^[[:blank:]]*##.*"
|
color cyan "^[[:blank:]]*##.*"
|
||||||
|
|
||||||
# Trailing whitespace
|
# Trailing whitespace
|
||||||
|
|
Loading…
Reference in New Issue