Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ruby: Capture the heredoc content only and downcase the language (#12532)

Vitaly Slobodin660cf214c706
diff --git a/extensions/ruby/languages/ruby/injections.scm b/extensions/ruby/languages/ruby/injections.scm
index fa6e2536912..516f30a812e 100644
--- a/extensions/ruby/languages/ruby/injections.scm
+++ b/extensions/ruby/languages/ruby/injections.scm
@@ -1,2 +1,4 @@
(heredoc_body
- (heredoc_end) @language) @content
+ (heredoc_content) @content
+ (heredoc_end) @language
+ (#downcase! @language))