From 4e31d1521bf9bb59f6485954d4ada16bf853c85a Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Fri, 9 Apr 2021 17:42:49 +0900 Subject: Add tree-sitter queries. --- runtime/queries/html/highlights.scm | 12 ++++++++++++ runtime/queries/html/injections.scm | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 runtime/queries/html/highlights.scm create mode 100644 runtime/queries/html/injections.scm (limited to 'runtime/queries/html') diff --git a/runtime/queries/html/highlights.scm b/runtime/queries/html/highlights.scm new file mode 100644 index 00000000..2c70a9c3 --- /dev/null +++ b/runtime/queries/html/highlights.scm @@ -0,0 +1,12 @@ +(tag_name) @tag +(erroneous_end_tag_name) @tag.error +(doctype) @constant +(attribute_name) @attribute +(attribute_value) @string +(comment) @comment + +[ + "<" + ">" + "