mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 21:40:12 +02:00
For better organisation the nanorc files will go to a folder. The install script should translate the themed nanorc files to the final files. The install script should be the official instalation method.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
syntax "Makefile" "([Mm]akefile|\.ma?k)$"
|
|
header "^#!.*/(env +)?[bg]?make( |$)"
|
|
|
|
color cyan "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
|
|
color cyan "^(export|include|override)\>"
|
|
color brightmagenta "^[^:= ]+:"
|
|
color brightmagenta "^[^:+ ]+\+"
|
|
color red "[=,%]" "\+=|\?=|:=|&&|\|\|"
|
|
color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
|
|
color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
|
|
color brightblue "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
|
|
color brightblue "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
|
|
color brightblue "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
|
|
color black "[()$]"
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color brightyellow "\$+(\{[^} ]+\}|\([^) ]+\))"
|
|
color brightyellow "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
|
|
color magenta "\$\$|\\.?"
|
|
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
|
color brightblack "^ @#.*"
|
|
|
|
# Show trailing whitespace
|
|
color ,green "[[:space:]]+$"
|