2016-08-25 00:15:36 +00:00
|
|
|
syntax "yaml" "\.ya?ml$"
|
2016-09-16 19:22:38 +00:00
|
|
|
header "%YAML"
|
2016-03-21 16:16:02 +00:00
|
|
|
|
2016-08-31 15:59:43 +00:00
|
|
|
color type "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
|
2017-03-01 14:30:35 +00:00
|
|
|
color constant.bool.true "\b(YES|yes|Y|y|ON|on)\b"
|
|
|
|
|
color constant.bool.false "\b(NO|no|N|n|OFF|off)\b"
|
|
|
|
|
color constant.bool.true "\b(true)\b"
|
|
|
|
|
color constant.bool.false "\b(false)\b"
|
|
|
|
|
color statement ":[[:space:]]" "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- "
|
2016-08-31 15:59:43 +00:00
|
|
|
color identifier "[[:space:]][\*&][A-Za-z0-9]+"
|
2017-02-28 06:49:48 +00:00
|
|
|
color type "([-\w\.\/]+[[:space:]]*:\s+)|([-\w\.\/]+[[:space:]]*:$)"
|
2016-08-31 15:59:43 +00:00
|
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
|
color comment "(^|[[:space:]])#([^{].*)?$"
|
|
|
|
|
color special "^---" "^\.\.\." "^%YAML" "^%TAG"
|
2017-03-01 14:30:35 +00:00
|
|
|
color indent-char.whitespace " $"
|