syntax: makefile: color comments only at start of line or after whitespace

master
Benno Schulenberg 2017-05-09 17:37:05 +02:00
parent 968c07fc81
commit 7e09f2c64a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ color red "[:=]"
color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
color brightblue "^[^ ]+:"
color green "#.*$"
color green "(^|[[:space:]]+)#.*"
## Trailing whitespace.
color ,green "[[:space:]]+$"