14 lines
363 B
Text
14 lines
363 B
Text
|
syntax "caddyfile" "Caddyfile"
|
||
|
|
||
|
color identifier "^\s*\S+(\s|$)"
|
||
|
color type "^([\w.:/-]+,? ?)+[,{]$"
|
||
|
color constant.specialChar "\s{$"
|
||
|
color constant.specialChar "^\s*}$"
|
||
|
color constant.string start="\"" end="\""
|
||
|
color preproc "\{(\w+|\$\w+|%\w+%)\}"
|
||
|
color comment "#.*"
|
||
|
|
||
|
# extra and trailing spaces
|
||
|
color ,red "([[:space:]]{2,}|\t){$"
|
||
|
color ,red "[[:space:]]+$"
|