mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -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
|
|
@ -1906,7 +1906,7 @@ return {
|
||||||
},
|
},
|
||||||
rescript = {
|
rescript = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '43c2f1f35024918d415dc933d4cc534d6419fedf',
|
revision = 'cafdc4ffad57bcdb8cd49f19a640d0fdfc929387',
|
||||||
url = 'https://github.com/rescript-lang/tree-sitter-rescript',
|
url = 'https://github.com/rescript-lang/tree-sitter-rescript',
|
||||||
},
|
},
|
||||||
maintainers = { '@ribru17' },
|
maintainers = { '@ribru17' },
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
(comment) @comment @spell
|
[
|
||||||
|
(line_comment)
|
||||||
|
(block_comment)
|
||||||
|
] @comment @spell
|
||||||
|
|
||||||
; Identifiers
|
; Identifiers
|
||||||
;------------
|
;------------
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,7 @@
|
||||||
">"
|
">"
|
||||||
">" @indent.end)
|
">" @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"))
|
(#set! injection.language "comment"))
|
||||||
|
|
||||||
(extension_expression
|
(extension_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue