mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 23:07:13 +09:00
Fix XML character entities (e.g. <) highlighting
This commit is contained in:
@@ -3516,7 +3516,7 @@ func runtimeSyntaxViYaml() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _runtimeSyntaxXmlYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x90\x3d\x4f\xc3\x30\x10\x86\xf7\xfc\x8a\xc3\x42\x7c\x54\x4a\xd8\x5d\x20\x43\x61\x86\x81\x05\xd5\x45\x32\xc9\x35\xb5\xb0\x1d\xcb\x3e\x50\x2a\xe5\xc7\xa3\xd4\xb4\xd0\x7c\x20\x31\x90\xed\xee\x49\x9e\xf7\xbd\xac\x95\x46\xda\x3a\xe4\xd0\x18\x9d\x24\x25\x12\x16\xc4\x13\x00\x80\x0e\x59\x69\x90\x03\x13\x22\xbb\x68\x8c\x6e\x43\x65\x74\xde\x7a\x5b\xb5\xe1\xa3\x6a\x9d\x56\x81\x2e\x4f\xd9\xee\xed\x0d\xca\x12\x3d\x07\x76\x2d\x44\xde\x18\x9d\xcd\x84\xc8\x6f\x59\x92\xf8\x77\x8d\x21\x1a\x53\x70\x1e\x9d\xaf\x8b\x38\x76\x4f\x20\xe9\xa9\xfb\xea\xe4\xee\x61\xf1\xf4\xfc\x78\xcf\x0e\x08\x6d\xc9\x81\x2d\xaf\x56\x9d\x66\xbf\x8c\x36\x58\xae\xbe\x84\x45\x6d\x0c\x5a\x1a\x13\xa6\x69\xdf\x95\xa6\xbf\x98\x82\xc3\x42\x49\xcd\x81\x9d\x2d\x5f\xe6\xab\xd9\x9c\xed\xc1\xd6\xbc\xd6\x3a\x23\x59\x8d\xa4\x08\x91\xe7\xfd\x98\x6e\x37\x08\x3a\x8c\x51\xaa\x4a\xb4\xa4\xd6\x0a\xfd\x31\xf9\x29\x07\x36\x40\x31\xe0\x66\x08\x8e\xaf\xf9\xce\x29\x6a\x1b\x48\x5a\xca\x02\x79\x65\xab\xe9\x30\xc1\xa6\xd2\xc6\x48\x78\x53\x6e\x77\xa9\x10\xd9\x54\x99\xc1\xba\xdf\x28\xfe\xf0\xc5\x46\xfa\x71\xd5\x1f\xda\x9f\x4f\x95\x1f\x01\xff\xd6\xfd\x33\x00\x00\xff\xff\x81\x3f\xde\xab\x4c\x03\x00\x00")
|
||||
var _runtimeSyntaxXmlYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x91\xcb\x4e\xeb\x30\x10\x86\xf7\x79\x8a\x39\xd6\x11\x37\x29\x61\x1f\x2e\x59\x14\xd6\xb0\x60\x83\x3a\x5d\x98\x64\x9a\x5a\xd8\x8e\x65\x0f\x28\x95\xf2\xf0\x28\x35\x14\x9a\x4b\x25\x16\x64\x37\xf3\xc7\xdf\xff\x59\x5e\x2b\x4d\xbc\x75\x94\x43\x6b\x74\x92\x54\xc4\x54\x72\x9e\x00\x00\xf4\x91\x95\x86\x72\x10\x88\xd9\x59\x6b\x74\x17\x6a\xa3\x8b\xce\xdb\xba\x0b\xef\x75\xe7\xb4\x0a\x7c\xfe\x5f\xec\xfe\xde\x90\xac\xc8\xe7\x20\xae\x11\x8b\xd6\xe8\xec\x02\xb1\xb8\x15\x49\xe2\xdf\x34\x85\x48\x4c\xc1\x79\x72\xbe\x29\xe3\xd8\x7f\x81\xa5\xe7\xfe\xd4\xbf\xbb\x87\xc5\xd3\xf3\xe3\xbd\xd8\x47\x64\xab\x1c\xc4\xf2\x72\xd5\x63\xbe\x96\x91\x06\xcb\xd5\x27\xb0\x6c\x8c\x21\xcb\x53\xc0\x34\x1d\xb2\xd2\xf4\x08\x29\x38\x2a\x95\xd4\x63\xd2\xc9\x10\x73\x75\x04\xb2\x35\x2f\x8d\xce\x58\xd6\x13\x46\x88\x45\x31\x64\xf5\xbb\x91\xd4\x7e\x8c\x50\x55\x91\x65\xb5\x56\xe4\x0f\x93\x9f\x70\x10\xa3\x28\x16\xdc\x8c\x83\x43\xe9\xef\x9e\xb2\xb1\x81\xa5\xe5\x2c\xb0\x57\xb6\x9e\x2f\x43\x31\xd7\x36\x95\x84\x57\xe5\x76\x37\x45\xcc\xe6\x64\x46\xeb\xa1\x51\x7c\x9c\xc5\x46\xfa\x69\xd4\x2f\xec\x4f\xe7\xe4\x27\x82\x3f\x73\xff\x08\x00\x00\xff\xff\x33\x9b\x36\xf4\x78\x03\x00\x00")
|
||||
|
||||
func runtimeSyntaxXmlYamlBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
||||
@@ -13,7 +13,10 @@ rules:
|
||||
start: "<!--"
|
||||
end: "-->"
|
||||
rules: []
|
||||
- special: "&[^;]*;"
|
||||
- special:
|
||||
start: "&"
|
||||
end: ";"
|
||||
rules: []
|
||||
- symbol.tag:
|
||||
start: "<\\??"
|
||||
end: "\\??>"
|
||||
|
||||
Reference in New Issue
Block a user