Update queries to make use of new features

This commit is contained in:
Max Brunsfeld 2020-07-20 12:46:52 -07:00
parent 92c17db0a9
commit 7f442e1c61
2 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@
"nan": "^2.14.0" "nan": "^2.14.0"
}, },
"devDependencies": { "devDependencies": {
"tree-sitter-cli": "^0.16.7" "tree-sitter-cli": "^0.16.9"
}, },
"scripts": { "scripts": {
"test": "tree-sitter test && tree-sitter parse examples/*.html --quiet --time", "test": "tree-sitter test && tree-sitter parse examples/*.html --quiet --time",

View File

@ -5,6 +5,8 @@
(attribute_value) @string (attribute_value) @string
(comment) @comment (comment) @comment
"<" @punctuation.bracket [
">" @punctuation.bracket "<"
"</" @punctuation.bracket ">"
"</"
] @punctuation.bracket