From 9e90866bcea3e392126c4eb90fde56b1c0b56b69 Mon Sep 17 00:00:00 2001 From: Clay Date: Sun, 23 Jan 2022 18:09:29 -0800 Subject: [PATCH] Upgrade to HEEx parser 0.3.0 --- queries/heex/highlights.scm | 46 ++++++++++++++++++++++++++----------- queries/heex/indents.scm | 2 +- queries/heex/injections.scm | 14 +++++------ queries/heex/locals.scm | 11 +++++++++ 4 files changed, 51 insertions(+), 22 deletions(-) create mode 100644 queries/heex/locals.scm diff --git a/queries/heex/highlights.scm b/queries/heex/highlights.scm index c69e3d53e..611e637fb 100644 --- a/queries/heex/highlights.scm +++ b/queries/heex/highlights.scm @@ -1,16 +1,13 @@ -(text) @text -(comment) @comment -(doctype) @constant - -; HEEx attributes are highlighted as HTML attributes -(attribute_name) @tag.attribute -(quoted_attribute_value) @string - +; HEEx tag and component delimiters [ "%>" + "--%>" + "-->" "/>" "