b9d4dbd5e0
See #229
12 lines
488 B
Text
12 lines
488 B
Text
syntax "yaml" "\.ya?ml$"
|
|
header "^---" "%YAML"
|
|
|
|
color type "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
|
|
color constant "\b(YES|yes|Y|y|ON|on|NO|no|N|n|OFF|off)\b"
|
|
color constant "\b(true|false)\b"
|
|
color statement ":[[:space:]]" "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- "
|
|
color identifier "[[:space:]][\*&][A-Za-z0-9]+"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color comment "(^|[[:space:]])#([^{].*)?$"
|
|
color special "^---" "^\.\.\." "^%YAML" "^%TAG"
|