highlights(rst): disable spell for code blocks

injections(rst): add sourcecode directive
This commit is contained in:
ObserverOfTime 2022-09-18 20:54:10 +03:00 committed by Stephan Seitz
parent c6a81292f7
commit 90c44df8cb
2 changed files with 2 additions and 2 deletions

View file

@ -164,7 +164,7 @@
name: (type) @_directive
body: (body
(content) @spell
(#not-match? @_directive "code-block")
(#not-any-of? @_directive "code" "code-block" "sourcecode")
)
)