Skip to content

Commit

Permalink
Fix: Svelte queries (helix-editor#10487)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraSmyth authored and postsolar committed Apr 20, 2024
1 parent 2a2f513 commit 3cee93a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runtime/queries/svelte/highlights.scm
@@ -1,6 +1,11 @@
; Special identifiers
;--------------------

(tag_name) @tag
(attribute_name) @variable.other.member
(erroneous_end_tag_name) @error
(comment) @comment

; TODO:
((element (start_tag (tag_name) @_tag) (text) @markup.heading)
(#match? @_tag "^(h[0-9]|title)$"))
Expand Down Expand Up @@ -28,11 +33,6 @@
(quoted_attribute_value (attribute_value) @markup.link.url))
(#match? @_attr "^(href|src)$"))

(tag_name) @tag
(attribute_name) @variable.other.member
(erroneous_end_tag_name) @error
(comment) @comment

[
(attribute_value)
(quoted_attribute_value)
Expand Down

0 comments on commit 3cee93a

Please sign in to comment.