fix(rst): capture (adornment) node as @markup.heading (#7302)

Node alias "adornment" is used as title's overline and underline:
5120f6e592/grammar.js (L112)
This commit is contained in:
Shengyu Zhang 2024-11-01 16:51:17 +08:00 committed by GitHub
parent fb2d41ec59
commit b065b59196
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,7 @@
(transition)
] @punctuation.special
[
"bullet"
"adornment"
] @markup.list
"bullet" @markup.list
; Resets for injection
(doctest_block) @none
@ -133,7 +130,10 @@
] @markup.link @nospell
; Others
(title) @markup.heading
[
(title)
"adornment"
] @markup.heading
(comment) @comment @spell