nvim-treesitter/queries/bash/injections.scm
2023-08-24 12:11:16 +03:00

13 lines
300 B
Scheme

((comment) @injection.content
(#set! injection.language "comment"))
((regex) @injection.content
(#set! injection.language "regex"))
((heredoc_redirect
[
(heredoc_body)
(simple_heredoc_body)
] @injection.content
(heredoc_end) @injection.language)
(#downcase! @injection.language))