RST: update queries

This commit is contained in:
Santos Gallegos 2020-08-01 23:52:20 -05:00 committed by Thomas Vigouroux
parent 3c7528a294
commit 81d444c498

View file

@ -5,6 +5,7 @@
"|"
"--"
"__"
":"
"::"
"bullet"
"adornment"
@ -32,10 +33,12 @@
[
(literal_block)
(line_block)
(block_quote)
(doctest_block)
] @text.literal
(block_quote
(attribution)? @text.emphasis) @text.literal
(substitution_definition
name: (substitution) @constant)
@ -49,6 +52,16 @@
name: (reference)? @constant
link: (_) @text.literal)
;; Lists
; Definition lists
(list_item
(term) @text.strong
(classifier)? @text.emphasis)
; Field lists
(field (field_name) @constant)
;; Inline markup
(emphasis) @text.emphasis
@ -110,8 +123,6 @@
(title) @text.title
(attribution) @text.emphasis
(comment) @comment
(comment "..") @comment