refactor(html_inject): Use lua-match instead of match

This commit is contained in:
Pham Huy Hoang 2023-04-09 01:18:44 +09:00 committed by Amaan Qureshi
parent 584ccea56e
commit ab39fe6c86

View file

@ -5,7 +5,8 @@
(
(style_element
(start_tag) @_no_type_lang
(#not-match? @_no_type_lang "\\s(lang|type)\\s*\\=")
(#not-lua-match? @_no_type_lang "%slang%s*=")
(#not-lua-match? @_no_type_lang "%stype%s*=")
(raw_text) @css))
(