mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 22:07:09 +09:00
@@ -2317,7 +2317,7 @@ func runtimeSyntaxXresourcesMicro() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _runtimeSyntaxYamlMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x6c\x51\x5d\x4f\xc2\x30\x14\x7d\x66\xbf\xa2\x5c\x51\xf6\xc1\x16\x5f\x25\x06\xc2\x83\xf8\xa2\xf0\xa0\x2f\xd8\x6d\x49\x37\x3a\x20\x76\x2d\x76\x25\x5a\xbd\x3f\xde\x94\xaf\x0c\x63\x9b\x34\xa7\xb7\xe7\x9c\xdc\xde\xd3\x58\x69\xd8\x17\x01\xcb\x6a\x01\x04\xd2\xc4\xb2\x71\x2d\x7a\xe0\xad\x39\x5b\x72\x4d\x20\x8f\xe3\x18\x08\x5c\x2f\x26\xcf\x4f\xe0\x79\xa5\x12\x4a\x93\x95\xe6\x5c\x12\xb7\xc0\xcf\x91\x04\xdd\xae\x5f\x6c\x24\xd3\x16\x0b\xa5\x04\x56\x42\x31\x83\x1b\x69\xb0\x66\x5b\x94\x3b\x21\x50\x39\xd4\xf0\x0f\x6c\xb8\xc1\xc6\xe8\x80\xc0\xd1\xab\xd0\x9b\xd5\xda\x94\x96\x49\x42\x20\xbd\xf7\x17\x0f\x2f\x68\x79\x83\x0b\xb4\x38\x9f\xa1\x92\x38\x9b\xa3\x54\x38\x43\x89\xf3\xe9\x14\x55\x55\x05\xe9\xe8\x1f\xb5\x13\x1b\xbd\xe3\x58\x31\xd1\xf0\x16\x47\xf3\x25\x81\x21\xa5\xc3\x66\xcb\x4a\x3e\xcc\x32\xf7\x51\xea\x0e\x87\xda\x0f\x11\xc5\x91\xab\xe5\xad\x5a\x18\xff\x69\xd5\x72\x21\xd4\x27\x81\x16\x87\xa6\xe1\x4d\x46\x27\xf1\x1b\x8b\xbf\x6f\xe3\xbb\x2c\x3a\x29\x4e\x5c\xf0\xd3\x34\x41\x9a\x43\x16\x84\x80\xfd\xe3\xad\x9f\x05\x61\xff\xd2\xbc\x10\xac\x7c\xdf\x4f\xb5\x65\x1f\x5c\xf9\x34\xff\xc9\x92\x30\x18\xf7\x2e\xe9\x35\x5b\x71\x69\x18\x39\xe7\x94\xa7\x89\xdb\x0e\x1d\x22\x73\xe0\x75\xf2\x78\x92\x0d\x0e\xd1\xb5\x9b\x8f\xce\x9e\x83\xfd\xa4\x3a\x11\x89\x90\x44\x9d\x08\xbc\xdf\x00\x00\x00\xff\xff\x60\xc7\xe2\xa6\x1e\x02\x00\x00")
|
||||
var _runtimeSyntaxYamlMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x64\x51\x4d\x6f\xe3\x20\x14\xbc\xfb\x57\x90\xb7\xd9\x8d\xed\xc8\xd6\x5e\x37\x87\x8d\x72\x68\x7a\x69\x93\x43\x7b\x49\xf9\x90\xb0\x83\x5b\x24\x0c\xae\x21\x52\x69\xdf\x8f\xaf\x50\xa2\xd4\x6a\x41\x42\xc3\x63\x06\xe6\x31\x3e\xda\x20\xdf\x08\x44\xd9\x1b\x20\xc0\xea\x28\xd7\xbd\x99\x43\xf6\xa2\xe4\x51\x8d\x04\x44\x55\x55\x40\xe0\xf7\x61\x73\x7f\x07\x59\xd6\x3a\xe3\x46\x12\xe2\xa0\x48\x1a\x90\x0b\x24\xc5\x6c\x96\x37\xda\xca\x31\x62\xe3\x9c\xc1\xce\x38\x19\x50\xdb\x80\xbd\x1c\xd0\x9e\x8c\x41\x97\x90\x57\xaf\xe8\x55\x40\x1f\xc6\x82\xc0\xe5\xaa\xd6\x59\x1f\xa4\x0d\x84\x00\x6b\xf2\xc3\xcd\x03\x46\xe5\xf1\x80\x11\xf7\x3b\x74\x16\x77\x7b\xb4\x0e\x77\x68\x71\xbf\xdd\xa2\xeb\xba\x82\x35\x3f\xb4\x49\x1a\xc6\x93\xc2\x4e\x1a\xaf\x26\x0c\x1f\x64\x50\xbd\x4a\x94\x15\xa5\x2b\x3f\xc8\x56\xad\x38\x4f\x9d\xd2\xb4\x24\x34\x3d\x58\x52\xfc\x9f\x6a\x62\x52\x2b\xab\xab\x59\x7d\x54\x36\xe8\x4e\xa7\x8f\x99\x30\x28\x2b\xff\x70\xba\xa9\x9e\x64\xf5\xfe\xb7\xfa\xc7\x97\xdf\x0d\xd6\x3e\x8c\xda\x3e\x13\x80\x9c\xb1\x1a\xa9\x00\x5e\x94\x80\x8b\xcb\x6e\xc1\x8b\x72\xf1\xa5\xe9\xcf\x86\x73\x81\x93\x37\x8a\x5f\x39\x15\x1f\xbc\x2e\x8b\xf5\xfc\xda\xdd\xa0\x5a\x2d\x0d\xb9\xa6\x24\x58\x9d\x66\x42\xe7\xc0\x12\x78\xdc\xdc\x42\xf6\x19\x00\x00\xff\xff\x0f\x7d\xec\x67\xe8\x01\x00\x00")
|
||||
|
||||
func runtimeSyntaxYamlMicroBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
syntax "yaml" "\.ya?ml$"
|
||||
header "^---" "%YAML"
|
||||
|
||||
color green "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
|
||||
color brightcyan "\<(YES|yes|Y|y|ON|on|NO|no|N|n|OFF|off)\>"
|
||||
color brightcyan "\<(true|false)\>"
|
||||
color red ":[[:space:]]" "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- "
|
||||
color brightyellow "[[:space:]][\*&][A-Za-z0-9]+"
|
||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
||||
color brightmagenta "^---" "^\.\.\." "^%YAML" "^%TAG"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " + +| + +"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user