Files
neovim-config/queries/tsx/class.scm
2024-11-02 18:11:33 +01:00

10 lines
239 B
Scheme

(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)
])