Merge pull request #170 from yochem/master

[yaml] Regarding comment from @jc-iacono
This commit is contained in:
Anthony Scopatz 2018-05-05 06:41:02 -04:00 committed by GitHub
commit a9e8d9d1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
syntax yaml "\.ya?ml" syntax "yaml" "\.ya?ml$"
comment "#" comment "#"
header "^---" "%YAML" header "^---" "%YAML"
@ -14,8 +14,8 @@ color yellow "[:-]\s+[0-9]+\.?[0-9]*(\s*($|#))"
color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) " color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
# Separator # Separator
color brightwhite "^\s+-" color normal "^\s+-"
color brightwhite ":(\s|\t|$)" color normal ":(\s|\t|$)"
# Comments # Comments
color white "(^|[[:space:]])#.*$" color white "(^|[[:space:]])#.*$"