From 468613c9dbdaece25e9646399645ae98cadeabaa Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 6 Sep 2024 09:49:28 +0200 Subject: [PATCH] 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. --- syntax/makefile.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/makefile.nanorc b/syntax/makefile.nanorc index 4a14d64e..e207108c 100644 --- a/syntax/makefile.nanorc +++ b/syntax/makefile.nanorc @@ -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:]]+)#.*"