fix(bash): fix injections

This commit is contained in:
ObserverOfTime 2023-08-23 13:02:41 +03:00
parent 1ff7985a74
commit 103ecdf758

View file

@ -1,11 +1,13 @@
((comment) @injection.content
(#set! injection.language "comment"))
((regex) @injection.content
((regex) @injection.content
(#set! injection.language "regex"))
((redirected_statement
(heredoc_redirect
(heredoc_start) @injection.language))
(heredoc_body) @injection.content
(#offset! @injection.content 0 0 -1 0)
(#downcase! @injection.language))(#set! injection.language "regex"))
((heredoc_redirect
[
(heredoc_body)
(simple_heredoc_body)
] @injection.content
(heredoc_end) @injection.language)
(#downcase! @injection.language))