plugins/treesitter: prevent mkRaw over-injection by removing injection.combined

This commit is contained in:
Heitor Augusto 2025-06-04 19:51:56 -03:00
parent 1d8724144c
commit fb3495ffa9
No known key found for this signature in database
GPG key ID: 53C04F8F46A1A344

View file

@ -23,8 +23,7 @@
((string_fragment) @injection.content ((string_fragment) @injection.content
(#set! injection.language "lua"))) (#set! injection.language "lua")))
] ]
(#match? @_func "(^|\\.)mkRaw$") (#match? @_func "(^|\\.)mkRaw$"))
(#set! injection.combined))
(binding (binding
attrpath: (attrpath attrpath: (attrpath