summaryrefslogtreecommitdiff
path: root/queries/rst/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rst/highlights.scm')
-rw-r--r--queries/rst/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/rst/highlights.scm b/queries/rst/highlights.scm
index 5fb228fa..1d83be06 100644
--- a/queries/rst/highlights.scm
+++ b/queries/rst/highlights.scm
@@ -164,7 +164,7 @@
name: (type) @_directive
body: (body
(content) @spell
- (#not-match? @_directive "code-block")
+ (#not-any-of? @_directive "code" "code-block" "sourcecode")
)
)