Skip to content

Commit

Permalink
markdown: add shebang injection query
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Apr 26, 2023
1 parent cc241c2 commit 2ac8c03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/queries/markdown/injections.scm
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
; 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)
Expand Down

0 comments on commit 2ac8c03

Please sign in to comment.