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 Apr 16, 2024
1 parent 36ee9ba commit 43dff1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runtime/queries/svelte/highlights.scm
Original file line number Diff line number Diff line change
@@ -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 43dff1c

Please sign in to comment.