diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/rst/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/rst/injections.scm | 2 |
2 files changed, 2 insertions, 2 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") ) ) diff --git a/queries/rst/injections.scm b/queries/rst/injections.scm index 1d576ef6..97bd0628 100644 --- a/queries/rst/injections.scm +++ b/queries/rst/injections.scm @@ -36,7 +36,7 @@ ((directive name: (type) @_type body: (body (arguments) @language (content) @content)) - (#any-of? @_type "code" "code-block")) + (#any-of? @_type "code" "code-block" "sourcecode")) ((directive name: (type) @_type |
