mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
feat(rescript)!: update parser and queries
Breaking change: `(comment)` node is split into `(line_comment)` and `(block_comment)`
This commit is contained in:
parent
0f2324ac88
commit
7a7a1591e0
4 changed files with 13 additions and 4 deletions
|
|
@ -1,4 +1,7 @@
|
|||
(comment) @comment @spell
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment @spell
|
||||
|
||||
; Identifiers
|
||||
;------------
|
||||
|
|
|
|||
|
|
@ -33,4 +33,7 @@
|
|||
">"
|
||||
">" @indent.end)
|
||||
|
||||
(comment) @indent.auto
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @indent.auto
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
((comment) @injection.content
|
||||
([
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
(extension_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue