1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

makefile: bightmagenta for start of lines beginning with +=

* += is very typical in android building and this makes it as pretty
  as := lines
This commit is contained in:
Dan Pasanen 2016-10-11 18:08:59 -05:00
parent 0969169f3e
commit 40fd6acdf3

View File

@ -4,6 +4,7 @@ header "^#!.*/(env +)?[bg]?make( |$)"
color cyan "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>" color cyan "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
color cyan "^(export|include|override)\>" color cyan "^(export|include|override)\>"
color brightmagenta "^[^:= ]+:" color brightmagenta "^[^:= ]+:"
color brightmagenta "^[^:+ ]+\+"
color red "[=,%]" "\+=|\?=|:=|&&|\|\|" color red "[=,%]" "\+=|\?=|:=|&&|\|\|"
color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]" color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]" color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"