From abe4d2ba6c98ef0922252ebe5e96a9d58815bc0b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Sep 2023 03:48:24 +0200 Subject: Add syntax-highlighting support --- queries/highlights.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 queries/highlights.scm diff --git a/queries/highlights.scm b/queries/highlights.scm new file mode 100644 index 0000000..ba33621 --- /dev/null +++ b/queries/highlights.scm @@ -0,0 +1,9 @@ +[">" "-" "=" "@"] @operator +["{" "}"] @tag.delimiter +(node_name) @tag +[ + (attribute_name) + (class_shorthand) + (id_shorthand) +] @tag.attribute +(attribute_value) @string -- cgit v1.2.3