mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
RST: update injection queries
Finally, highlight for code blocks
This commit is contained in:
parent
6114a6ed97
commit
6aaf240d0c
4 changed files with 34 additions and 18 deletions
|
|
@ -26,7 +26,7 @@
|
|||
; The role directive can define a new role
|
||||
((directive
|
||||
name: (type) @_type
|
||||
body: (body) @definition)
|
||||
body: (body (arguments) @definition))
|
||||
(#eq? @_type "role"))
|
||||
|
||||
;; References
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue