mirror of git://git.sv.gnu.org/nano.git
syntax: makefile: colorize also multiple targets
Multiple targets are separated by spaces. Furthermore, there may be spaces before the first target and before the colon.
This commit is contained in:
parent
28642cd047
commit
468613c9db
|
@ -17,7 +17,7 @@ color magenta "^((override +)?(un)?define|endef|(un)?export|private|vpath)\>"
|
|||
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
|
||||
|
||||
# Targets.
|
||||
color brightblue "^[^ ]+:"
|
||||
color brightblue "^[^ ].*:"
|
||||
|
||||
# Comments.
|
||||
color green "(^|[[:blank:]]+)#.*"
|
||||
|
|
Loading…
Reference in New Issue