aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/markdown')
-rw-r--r--runtime/queries/markdown/injections.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/markdown/injections.scm b/runtime/queries/markdown/injections.scm
index e8839351..80977459 100644
--- a/runtime/queries/markdown/injections.scm
+++ b/runtime/queries/markdown/injections.scm
@@ -1,6 +1,10 @@
; From nvim-treesitter/nvim-treesitter
(fenced_code_block
+ (code_fence_content) @injection.shebang @injection.content
+ (#set! injection.include-unnamed-children))
+
+(fenced_code_block
(info_string
(language) @injection.language)
(code_fence_content) @injection.content (#set! injection.include-unnamed-children))