Improve XML character entities highlighting and comment

This commit is contained in:
ariasuni
2019-01-12 17:00:20 +01:00
parent 34c12e1282
commit 36862137db
3 changed files with 6 additions and 11 deletions

View File

@@ -9,14 +9,9 @@ rules:
start: "<!DOCTYPE"
end: "[/]?>"
rules: []
- comment:
start: "<!--"
end: "-->"
rules: []
- special:
start: "&"
end: ";"
rules: []
- comment: "<!--.+?-->"
# next line for highlighting of character entities doesnt work as of now
- special: "&(#[[:digit:]]{1,4}|#x[[:xdigit:]]{1,4}|[^[[:space:]]]+);"
- symbol.tag:
start: "<\\??"
end: "\\??>"