mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-09 01:44:32 +03:00
syntax: makefile: color comments only at start of line or after whitespace
This commit is contained in:
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…
x
Reference in New Issue
Block a user