
# Summary Hello. This pull request adds a new injection to `injections.scm` for Ruby language to highlight regular expressions. Thanks. ## Before  ## After  Release Notes: - N/A Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
8 lines
163 B
Scheme
8 lines
163 B
Scheme
(heredoc_body
|
|
(heredoc_content) @content
|
|
(heredoc_end) @language
|
|
(#downcase! @language))
|
|
|
|
((regex
|
|
(string_content) @content)
|
|
(#set! "language" "regex"))
|