From caf14b70eab927d0740d12088f378da541eff7e3 Mon Sep 17 00:00:00 2001 From: Clay Date: Sun, 15 Aug 2021 10:42:10 -0700 Subject: [PATCH] Update surface version, fix highlights --- queries/surface/highlights.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/queries/surface/highlights.scm b/queries/surface/highlights.scm index 5cdaa977c..0144193c9 100644 --- a/queries/surface/highlights.scm +++ b/queries/surface/highlights.scm @@ -8,7 +8,7 @@ (attribute_name) @tag.attribute ; Attributes are highlighted as strings -(attribute_value) @string +(quoted_attribute_value) @string ; Surface blocks are highlighted as keywords [ @@ -25,14 +25,12 @@ "/>" "{" "}" + "" + "{!--" + "--}" ] @tag.delimiter -; Expressions are similar to string interpolation, and are highloghted as such -(expression) @punctuation.special - -; Expressions should be highlighted as Elixir, fallback to special strings -(expression_value) @string.special - ; Surface tags are highlighted as HTML (tag_name) @tag