mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
RST: add code-block to injections (#1677)
This isn't part of the rst spec, but it's common enough on third party libs (sphinx specially).
This commit is contained in:
parent
7973eb8a61
commit
576f14d2ee
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
((directive
|
||||
name: (type) @_type
|
||||
body: (body (arguments) @language (content) @content))
|
||||
(#eq? @_type "code"))
|
||||
(#any-of? @_type "code" "code-block"))
|
||||
|
||||
((directive
|
||||
name: (type) @_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue