mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
refactor(html_inject): Use lua-match instead of match
This commit is contained in:
parent
584ccea56e
commit
ab39fe6c86
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
||||||
(
|
(
|
||||||
(style_element
|
(style_element
|
||||||
(start_tag) @_no_type_lang
|
(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))
|
(raw_text) @css))
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue