fix(xml): remove CDATA injection

This change does not break existing injections that currently ship with nvim-treesitter, but instead allows additional injections to be defined by users, like those found in the Max/MSP Jitter XML Shader format.
This commit is contained in:
Izzy Muerte 2025-11-03 00:37:30 -08:00 committed by GitHub
parent 55820833a3
commit 65a266bf69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,11 +189,10 @@
; Text ; Text
(CharData) @none @spell (CharData) @none @spell
((CDSect (CDSect
(CDStart) @module (CDStart) @module
(CData) @markup.raw (CData) @markup.raw
"]]>" @module) "]]>" @module)
(#set! priority 105))
; Misc ; Misc
(Comment) @comment @spell (Comment) @comment @spell