From 5c5f4c5d548397fbba2ba6dfecd8267bde12deab Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sat, 1 Aug 2020 11:56:15 -0500 Subject: RST: update locals --- queries/rst/locals.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/queries/rst/locals.scm b/queries/rst/locals.scm index 4838935b..d61de4af 100644 --- a/queries/rst/locals.scm +++ b/queries/rst/locals.scm @@ -21,6 +21,12 @@ ; Inline targets (target) @definition +; The role directive can define a new role +((directive + name: (type) @_type + body: (body) @definition) + (#match? @_type "role::")) + ;; References [ @@ -28,4 +34,5 @@ (footnote_reference) (citation_reference) (reference) + (role) ] @reference -- cgit v1.2.3