nvim-treesitter/queries/ruby/injections.scm
2023-08-12 17:34:15 +02:00

11 lines
279 B
Scheme

((comment) @injection.content
(#set! injection.language "comment"))
(heredoc_body
(heredoc_content) @injection.content
(heredoc_end) @injection.language
(#downcase! @injection.language))
(regex
(string_content) @injection.content
(#set! injection.language "regex"))