]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/yaml.micro
adding hexidecimal numbers to the existing C syntax rules
[micro.git] / runtime / syntax / yaml.micro
index 2184f68ec7596023da3938337e1e42d0c927613d..e7814e01018c6060dfdbea9aae4087b33b6b85e7 100644 (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"