fix #1318. fix html comments and make them work multiline

This commit is contained in:
Patrick Weingaertner
2019-07-26 21:49:40 +02:00
parent 3a8898dadd
commit 523592be26

View File

@@ -18,9 +18,13 @@ rules:
- symbol.tag: "<|>" - symbol.tag: "<|>"
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+" - constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
- comment: "<!--.+?-->"
- preproc: "<!DOCTYPE.+?>" - preproc: "<!DOCTYPE.+?>"
- comment:
start: "<!--"
end: "-->"
rules: []
- constant.string: - constant.string:
start: "\"" start: "\""
end: "\"" end: "\""