mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 12:37:38 +03:00
24 lines
470 B
YAML
24 lines
470 B
YAML
filetype: caddyfile
|
|
|
|
detect:
|
|
filename: "Caddyfile"
|
|
|
|
rules:
|
|
- identifier: "^\\s*\\S+(\\s|$)"
|
|
- type: "^([\\w.:/-]+,? ?)+[,{]$"
|
|
- constant.specialChar: "\\s{$"
|
|
- constant.specialChar: "^\\s*}$"
|
|
- constant.string:
|
|
start: "\""
|
|
end: "\""
|
|
skip: "\\\\."
|
|
rules:
|
|
- constant.specialChar: "\\\\."
|
|
|
|
- preproc: "\\{(\\w+|\\$\\w+|%\\w+%)\\}"
|
|
- comment:
|
|
start: "#"
|
|
end: "$"
|
|
rules: []
|
|
|