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.

Fix embedded highlight in ruby

Nate Butler7ff97e50a72a
diff --git a/crates/zed/src/languages/ruby/highlights.scm b/crates/zed/src/languages/ruby/highlights.scm
index 7ed6b3ab3d1..2610cfa1ccf 100644
--- a/crates/zed/src/languages/ruby/highlights.scm
+++ b/crates/zed/src/languages/ruby/highlights.scm
@@ -109,10 +109,6 @@
(false)
] @constant.builtin
-(interpolation
- "#{" @punctuation.special
- "}" @punctuation.special) @embedded
-
(comment) @comment
; Operators
@@ -178,4 +174,8 @@
"}"
"%w("
"%i("
-] @punctuation.bracket
\ No newline at end of file
+] @punctuation.bracket
+
+(interpolation
+ "#{" @punctuation.special
+ "}" @punctuation.special) @embedded