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 Oct 6, 2022
1 parent 4947c74 commit 9d08bd3
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 9d08bd3

Please sign in to comment.