ruby: Add a new injection for regular expressions (#12533)
# 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>
This commit is contained in:
parent
08123a270a
commit
356fcec337
1 changed files with 4 additions and 0 deletions
|
@ -2,3 +2,7 @@
|
|||
(heredoc_content) @content
|
||||
(heredoc_end) @language
|
||||
(#downcase! @language))
|
||||
|
||||
((regex
|
||||
(string_content) @content)
|
||||
(#set! "language" "regex"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue