Added tailwind plugin

This commit is contained in:
2024-11-02 18:11:33 +01:00
parent de16d1ea50
commit d683b68c55
4 changed files with 32 additions and 1 deletions

9
queries/tsx/class.scm Normal file
View File

@@ -0,0 +1,9 @@
(jsx_attribute
(property_identifier) @_attribute_name
(#any-of? @_attribute_name "class" "className" "style" "css" "tw")
[
(string
(string_fragment) @tailwind)
(jsx_expression
(template_string) @tailwind.inner)
])