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 Chirikumbrah committed Jun 15, 2024
1 parent 4e76e93 commit 95b0f1e
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 95b0f1e

Please sign in to comment.