Added tailwind plugin
This commit is contained in:
9
queries/tsx/class.scm
Normal file
9
queries/tsx/class.scm
Normal 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)
|
||||
])
|
||||
Reference in New Issue
Block a user