RST: update queries

Some nodes were renamed and added more textobjects.
This commit is contained in:
Santos Gallegos 2020-09-18 11:12:27 -05:00 committed by Thomas Vigouroux
parent 79fd22cc5a
commit 5c85e6beee
3 changed files with 30 additions and 4 deletions

View file

@ -49,7 +49,7 @@
name: (label) @constant)
(target
name: (reference)? @constant
name: (name)? @constant
link: (_) @text.literal)
;; Lists
@ -106,7 +106,7 @@
] @text.literal
[
(target)
(inline_target)
(substitution_reference)
(footnote_reference)
(citation_reference)