mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
rst: update highlight queries
This commit is contained in:
parent
bd1d1adb35
commit
b1da6ad8b3
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@
|
||||||
|
|
||||||
(standalone_hyperlink) @text.uri
|
(standalone_hyperlink) @text.uri
|
||||||
|
|
||||||
|
(role) @function
|
||||||
|
|
||||||
|
((role) @function.builtin
|
||||||
|
(#match?
|
||||||
|
@function.builtin
|
||||||
|
; https://docutils.sourceforge.io/docs/ref/rst/roles.html
|
||||||
|
"^:(emphasis|literal|code|math|pep-reference|rfc-reference|strong|subscript|superscript|title-reference|raw):$"))
|
||||||
|
|
||||||
[
|
[
|
||||||
(interpreted_text)
|
(interpreted_text)
|
||||||
(literal)
|
(literal)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue