mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 23:10:11 -04:00
RST: update queries
Some nodes were renamed and added more textobjects.
This commit is contained in:
parent
79fd22cc5a
commit
5c85e6beee
3 changed files with 30 additions and 4 deletions
|
|
@ -4,3 +4,29 @@
|
|||
(section (title) @class.inner) @class.outer
|
||||
|
||||
(transition) @class.outer
|
||||
|
||||
[
|
||||
(bullet_list)
|
||||
(enumerated_list)
|
||||
(definition_list)
|
||||
(field_list)
|
||||
|
||||
(literal_block)
|
||||
(line_block)
|
||||
(block_quote)
|
||||
(doctest_block)
|
||||
] @block.outer
|
||||
|
||||
(footnote
|
||||
body: (body) @block.inner) @block.outer
|
||||
|
||||
(citation
|
||||
body: (body) @block.inner) @block.outer
|
||||
|
||||
(target
|
||||
link: (link) @block.inner) @block.outer
|
||||
|
||||
(substitution_definition
|
||||
body: (body) @block.inner) @block.outer
|
||||
|
||||
(comment) @comment.outer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue