From 3ac88f2cbb9ebad06b27ccdd2f7c9671fc8c4782 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Tue, 4 Apr 2023 12:46:32 -0400 Subject: [PATCH] Merge pull request #2354 from zed-industries/nate/fix-embedded-highlight-in-ruby Fix embedded highlight in ruby --- crates/zed/src/languages/ruby/highlights.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/zed/src/languages/ruby/highlights.scm b/crates/zed/src/languages/ruby/highlights.scm index 7ed6b3ab3d198758abc4f881deaadd7fa7b1a9b8..2610cfa1ccf07254c68c87d2e8013741d7d6969f 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