syntax: makefile: color comments only at start of line or after whitespace
parent
968c07fc81
commit
7e09f2c64a
|
@ -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:]]+$"
|
||||
|
|
Loading…
Reference in New Issue