Merge pull request #424 from ulrichSchreiner/yaml-highlighter

highlight yaml dicts as types
This commit is contained in:
Zachary Yedidia 2016-10-19 07:26:23 -04:00 committed by GitHub
commit 30083c4d0f

View file

@ -6,6 +6,7 @@ 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 type "([-\w]+:\s+)|([-\w]+:$)"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "(^|[[:space:]])#([^{].*)?$"
color special "^---" "^\.\.\." "^%YAML" "^%TAG"