Update surface version, fix highlights

This commit is contained in:
Clay 2021-08-15 10:42:10 -07:00 committed by Stephan Seitz
parent a9e32d0cc5
commit ca7a682aff

View file

@ -8,7 +8,7 @@
(attribute_name) @tag.attribute (attribute_name) @tag.attribute
; Attributes are highlighted as strings ; Attributes are highlighted as strings
(attribute_value) @string (quoted_attribute_value) @string
; Surface blocks are highlighted as keywords ; Surface blocks are highlighted as keywords
[ [
@ -25,14 +25,12 @@
"/>" "/>"
"{" "{"
"}" "}"
"<!--"
"-->"
"{!--"
"--}"
] @tag.delimiter ] @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 ; Surface tags are highlighted as HTML
(tag_name) @tag (tag_name) @tag