feat(rescript)!: update parser and queries

Breaking change: `(comment)` node is split into `(line_comment)` and
`(block_comment)`
This commit is contained in:
Christian Clason 2026-04-24 17:01:28 +02:00 committed by Christian Clason
parent 0f2324ac88
commit 7a7a1591e0
4 changed files with 13 additions and 4 deletions

View file

@ -1,4 +1,7 @@
(comment) @comment @spell
[
(line_comment)
(block_comment)
] @comment @spell
; Identifiers
;------------

View file

@ -33,4 +33,7 @@
">"
">" @indent.end)
(comment) @indent.auto
[
(line_comment)
(block_comment)
] @indent.auto

View file

@ -1,4 +1,7 @@
((comment) @injection.content
([
(line_comment)
(block_comment)
] @injection.content
(#set! injection.language "comment"))
(extension_expression