nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 468613c9dbdaece25e9646399645ae98cadeabaa
parent 28642cd04755f68189e89cbb4decba0fb7b2ab0a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri,  6 Sep 2024 09:49:28 +0200

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.

Diffstat:
Msyntax/makefile.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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:]]+)#.*"