Skip to content

Commit

Permalink
fix tsx jsx inject
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed May 16, 2024
1 parent b97f89c commit 7dfc06d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions extensions/vue/languages/vue/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@
(attribute
(attribute_name) @_attr
(quoted_attribute_value
(attribute_value) @tsx_jsx)))
(raw_text) @content)
(attribute_value) @language)))
(#eq? @_attr "lang")
(#any-of? @tsx_jsx "tsx" "jsx")
(#set! "language" "tsx")
(#any-of? @language "tsx" "jsx")
(raw_text) @content)


; {{ }}
Expand Down

0 comments on commit 7dfc06d

Please sign in to comment.