From 7f442e1c6163d450c69c75c7a621badc3a0ea98f Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 20 Jul 2020 12:46:52 -0700 Subject: [PATCH] Update queries to make use of new features --- package.json | 2 +- queries/highlights.scm | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d24a6a6..3bf1c72 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "nan": "^2.14.0" }, "devDependencies": { - "tree-sitter-cli": "^0.16.7" + "tree-sitter-cli": "^0.16.9" }, "scripts": { "test": "tree-sitter test && tree-sitter parse examples/*.html --quiet --time", diff --git a/queries/highlights.scm b/queries/highlights.scm index c7e4d0d..2c70a9c 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -5,6 +5,8 @@ (attribute_value) @string (comment) @comment -"<" @punctuation.bracket -">" @punctuation.bracket -"" + "