Update go highlighting

This commit is contained in:
Zachary Yedidia
2017-02-10 21:00:31 -05:00
parent ced7164912
commit d695d12872
2 changed files with 3 additions and 5 deletions

View File

@@ -1292,7 +1292,7 @@ func runtimeSyntaxGlslMicro() (*asset, error) {
return a, nil return a, nil
} }
var _runtimeSyntaxGoMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x53\x5d\x4f\xdb\x40\x10\x7c\xcf\xaf\x38\x8e\x96\xd8\x06\x27\x7c\x89\xd2\xa8\x29\xa2\xb4\x48\x7d\x68\x79\xa1\x52\x54\x9f\x23\xce\xce\xda\x39\xe1\xdc\x59\x77\x6b\x48\xca\xa6\xbf\xbd\xb2\x13\x4a\x0a\x16\x7d\xf3\x7a\xc7\xb3\x33\xb3\x6b\xb7\xd0\x28\xe7\x8c\xe7\x86\x33\x2e\x7a\xb9\x79\xc3\x3b\x9d\x6d\x76\x61\xf4\x44\xa1\x32\x5a\x16\x8e\x49\x3d\x61\xa9\xd1\x68\x4d\xc1\xb2\xc2\xdc\x77\x52\x53\x18\xcb\x1c\x4a\x84\x19\x68\x64\x5c\x24\x5e\x62\x41\xde\x52\x2a\x1d\x50\x8d\x55\xba\x02\x9a\x40\x26\xab\x02\x09\x0a\x07\x94\x19\x4b\xb9\xa1\xdc\xa0\x21\x95\x91\x95\x3a\x07\xb2\x80\x95\xd5\xe4\xee\x15\xa6\x53\x5f\x24\xbc\x95\xbb\x94\xe9\xad\xcc\x81\xd4\xac\x34\x16\x6b\x7e\x87\x74\x27\x2d\xe1\xa2\x04\x72\x68\xab\x14\x29\xab\x74\x5a\x0f\x98\x40\x06\x96\x94\x41\xd9\xce\x17\x85\xbb\xfd\x60\xf8\xe1\xe3\xd6\xef\xb7\x3b\x34\x8e\x69\x30\x6c\x1c\x5f\x2f\x4a\x70\x8f\xe8\x12\x52\x25\x0b\xc6\x23\x19\xfe\x3a\x0f\x7f\xee\x87\xef\xe3\x40\x78\x8f\x64\x89\x55\xf9\x14\x17\x50\x14\xe6\x9e\x71\x6f\x8f\x44\xcf\x7f\xec\xd5\x8a\x1a\xcd\xd5\x99\xd2\xe8\x9d\xd2\xc1\x09\x1d\x1d\xd2\xc9\xb1\x7f\x46\x59\x61\x24\x7a\xab\x8a\x52\x33\x2b\x0b\x98\x7b\x27\xc7\x74\x70\x78\xea\x6f\x68\x7d\xa2\x50\x1a\x4b\xb4\x94\x2c\x10\xc8\x56\xba\xb1\xaa\x74\x4e\x4a\x23\xd8\x4c\xa6\x40\x89\x31\x05\xcd\x64\x49\xe9\x54\x6a\x02\x6b\x8d\xdd\x60\x6a\x82\x92\xeb\x10\xd1\x56\x40\x99\xac\x57\xa1\x55\xd1\xa0\x3a\xdb\xec\x93\x95\xe9\x2d\xa0\x63\x9a\xb9\xa9\xc2\x97\x71\x79\xe2\x81\xc4\xd2\x6f\x09\xd2\x13\x1e\x09\xbf\xbd\x13\x91\x88\xdb\x3a\x5b\x2d\xef\xf6\x1a\x21\xdf\xab\x59\x02\x76\x75\x6c\x2b\x9b\xee\x99\x8b\x9e\x6e\x20\x8d\x99\xa8\x5e\xc9\x2e\xed\xcf\xeb\x07\x19\x66\xe7\xe1\x65\x1c\xf8\x22\xa1\x6e\xaf\xfb\xdc\x7d\x6f\x45\xc7\x38\xf7\x84\xe8\x51\x34\xe6\xb1\x1f\x70\xea\xae\xab\x6e\xec\x07\x2d\xdf\xac\x4e\xe0\x62\x2a\xeb\x81\x22\x92\x49\xa6\x2d\xde\x75\x05\x17\x22\xfe\x1f\xba\x96\xf7\x2e\x7e\x38\x5a\xd2\x3c\x3a\x0f\x2f\x65\x98\xd5\x72\x1f\x0e\x97\x54\x6d\xd6\xc7\x4b\xfa\xb1\x59\x9f\x3e\xc5\xfc\x42\xfb\x4d\x34\xbe\x89\x83\x9b\xd7\x27\xf3\xd7\xdb\xdd\xf5\xaf\x3d\xab\x73\x77\x6c\x87\x5d\x5f\x7d\xbe\x7a\x4a\x79\xb6\x5e\xde\x98\xa2\x68\xe0\x4a\x99\xc2\x20\x8e\xfd\x7e\xbf\x17\xf0\xce\xf6\xbf\x20\x87\xd2\xe2\x90\xf7\x45\xc0\x19\xe8\xc9\x90\x8b\xa0\xff\xf7\x7c\xcd\xc4\x30\xee\xd5\xdc\x34\x1a\x8d\xe8\xf2\xeb\xe8\xdb\x17\x7f\x70\xc6\x3b\x7f\x02\x00\x00\xff\xff\x60\x2e\x9f\x6d\x6c\x04\x00\x00") var _runtimeSyntaxGoMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x53\x5f\x4f\xdb\x3e\x14\x7d\xef\xa7\x30\xe6\xf7\xa3\x49\x20\x2d\xff\xc4\x58\xb5\x0e\x31\x36\xa4\x3d\x6c\xbc\x30\xa9\x5a\x9c\x0a\x27\xbd\x49\x2d\x12\x3b\xb2\x6f\xa0\x1d\xb7\xfb\xec\x53\xd2\x32\x2a\x88\xb4\xb7\x9c\xdc\x93\xe3\x73\xce\x75\xdc\x52\xa3\x5c\x30\x9e\x1b\xce\xb8\x18\xe4\xe6\x3f\xde\xeb\xed\xb2\x2b\xa3\x67\x0a\x95\xd1\xb2\x70\x4c\xea\x19\x4b\x8d\x46\x6b\x0a\x96\x15\xe6\xb1\x97\x9a\xc2\x58\xe6\x50\x22\x94\xa0\x91\x71\x91\x78\x89\x05\x79\x4f\xa9\x74\x40\x0d\x57\xe9\x1a\x68\x06\x99\xac\x0b\x24\x28\x1c\x50\x66\x2c\xe5\x86\x72\x83\x86\x54\x46\x56\xea\x1c\xc8\x02\xd6\x56\x93\x7b\x54\x98\xce\x7d\x91\xf0\x4e\xed\x4a\xa6\xf7\x32\x07\x52\x65\x65\x2c\x36\xfa\x0e\xe9\x41\x5a\xc2\x65\x05\xe4\xd0\xd6\x29\x52\x56\xeb\xb4\x39\x60\x06\x19\x58\x52\x06\x65\xb7\x5e\x14\xee\x0f\x83\xf1\x87\x8f\x3b\xbf\xff\xdf\xa3\x69\x4c\xa3\x71\x9b\xf8\x76\x59\x81\x7b\x66\x57\x90\x2a\x59\x30\x1e\xc9\xf0\xd7\x65\xf8\xf3\x30\x7c\x1f\x07\xc2\x7b\x16\x4b\xac\xca\xe7\xb8\x84\xa2\x30\x8f\x8c\x7b\x07\x24\x06\xfe\xf3\xac\x71\xd4\x7a\xae\x2f\x94\x46\xef\x9c\x8e\xce\xe8\xe4\x98\xce\x4e\xfd\x0b\xca\x0a\x23\xd1\x5b\x23\x4a\x4d\x59\x15\xb0\xf0\xce\x4e\xe9\xe8\xf8\xdc\xdf\xf2\xfa\x22\xa1\x34\x56\x68\x29\x59\x22\x90\xad\x75\x1b\x55\xe9\x9c\x94\x46\xb0\x99\x4c\x81\x12\x63\x0a\x2a\x65\x45\xe9\x5c\x6a\x02\x6b\x8d\xdd\x52\x6a\x8b\x92\x9b\x12\xd1\xd6\x40\x99\x6c\x56\xa1\x55\xd1\xb2\x7a\xbb\xec\x93\x95\xe9\x3d\xa0\x7b\xdb\x93\x27\x9e\x48\xac\xfc\x8e\x06\x3d\xe1\x91\xf0\xbb\x27\x11\x89\xb8\x6b\xb2\xd3\xf1\xee\xa0\x75\xf0\xbd\x2e\x13\xb0\xeb\x5b\xb6\xce\xe7\x5e\xd9\x1f\xe8\x96\xd2\xa6\x88\x9a\x5d\xec\xd3\xe1\xa2\x79\x90\x61\x76\x19\x5e\xc7\x81\x2f\x12\xea\x0f\xfa\xaf\x63\x0f\xd6\x72\x8c\x73\x4f\x88\x01\x45\x53\x1e\xfb\x01\xa7\xfe\x06\xf5\x63\x3f\xe8\xf8\x66\xbd\xfb\xab\xb9\x6c\x0e\x14\x91\x4c\x32\x6d\xf1\xa1\x2f\xb8\x10\xf1\xbf\xd8\x8d\xbd\x77\xf1\xd3\xc9\x8a\x16\xd1\x65\x78\x2d\xc3\xac\xb1\xfb\x74\xbc\xa2\x7a\x1b\x9f\xae\xe8\xc7\x36\x3e\x7f\xa9\xf9\x8d\xf7\xbb\x68\x7a\x17\x07\x77\x9b\xbf\xb2\x6c\x9a\x73\x6c\x8f\xdd\xde\x7c\xbe\x79\xe9\xa9\xdc\xd4\x3f\xa5\x28\x1a\xb9\x4a\xa6\x30\x8a\x63\x7f\x38\x1c\x04\xfc\x15\xc7\xa1\xb4\x38\xe6\x43\x11\x70\x06\x7a\x36\xe6\x22\x18\xfe\xbd\x78\x66\x66\x18\xf7\x1a\x69\x9a\x4c\x26\x74\xfd\x75\xf2\xed\x8b\x3f\xba\xe0\xbd\x3f\x01\x00\x00\xff\xff\x5c\x66\x83\x29\x26\x04\x00\x00")
func runtimeSyntaxGoMicroBytes() ([]byte, error) { func runtimeSyntaxGoMicroBytes() ([]byte, error) {
return bindataRead( return bindataRead(

View File

@@ -12,7 +12,7 @@ color type "\b(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\b"
color type "\b(uintptr|byte|rune|string|interface|bool|map|chan|error)\b" color type "\b(uintptr|byte|rune|string|interface|bool|map|chan|error)\b"
color constant "\b(true|false|nil)\b" color constant "\b(true|false|nil)\b"
# Brackets n shit # Brackets
color statement "(\{|\})" color statement "(\{|\})"
color statement "(\(|\))" color statement "(\(|\))"
color statement "(\[|\])" color statement "(\[|\])"
@@ -25,10 +25,8 @@ color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color constant.specialChar "\\[abfnrtv'\"\\]" color constant.specialChar "\\[abfnrtv'\"\\]"
color constant.specialChar "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})" color constant.specialChar "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
color constant.string "`[^`]*`" color constant.string "`[^`]*`"
color constant.specialChar """
color constant.specialChar "'"
# Comments & TODOs # Comments & TODOs
color comment "(^|[[:space:]])//.*" color comment "(^|[[:space:]])//.*"
#color comment start="/\*" end="\*/" color comment start="/\*" end="\*/"
color todo "(TODO|XXX|FIXME):?" color todo "(TODO|XXX|FIXME):?"