mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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:
parent
fb2d41ec59
commit
b065b59196
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue