2016-08-25 03:15:36 +03:00
|
|
|
syntax "yaml" "\.ya?ml$"
|
2016-03-21 19:16:02 +03:00
|
|
|
header "^---" "%YAML"
|
|
|
|
|
2016-08-31 18:59:43 +03:00
|
|
|
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"
|