mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 15:10:27 +09:00
21 lines
986 B
Plaintext
21 lines
986 B
Plaintext
syntax "makefile" "([Mm]akefile|\.ma?k)$"
|
|
header "^#!.*/(env +)?[bg]?make( |$)"
|
|
|
|
color preproc "\b(ifeq|ifdef|ifneq|ifndef|else|endif)\b"
|
|
color preproc "^(export|include|override)\b"
|
|
color symbol.operator "^[^:= ]+:"
|
|
color symbol.operator "[=,%]" "\+=|\?=|:=|&&|\|\|"
|
|
color statement "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
|
|
color statement "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
|
|
color statement "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
|
|
color statement "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
|
|
color statement "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
|
|
color identifier "^.+:"
|
|
color identifier "[()$]"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color identifier "\$+(\{[^} ]+\}|\([^) ]+\))"
|
|
color identifier "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
|
|
color identifier "\$\$|\\.?"
|
|
color comment "(^|[[:space:]])#([^{].*)?$"
|
|
color comment "^ @#.*"
|