File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 2007-02-23 Doug Kearns <dougkearns@gmail.com>
2+
3+ * syntax/ruby.vim: make sure multi-line backslash escaped
4+ interpolation regions are highlighted as rubyString
5+
162007-02-23 Doug Kearns <dougkearns@gmail.com>
27
38 * syntax/ruby.vim: link the rubyLoop syntax group to the Repeat
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ syn match rubyEscape "\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\
4545syn region rubyInterpolated matchgroup =rubyInterpolation start =" #{" end =" }" contains =TOP contained
4646" syn match rubyInterpolation "#\%(\$\|@@\=\)\w\+" contained contains=rubyInstanceVariable,rubyClassVariable,rubyGlobalVariable display
4747syn match rubyInterpolation " #\z e\% (\$\| @@\=\)\w\+ " contained display nextgroup =rubyClassVariable,rubyInstanceVariable,rubyGlobalVariable
48- syn match rubyNoInterpolation " \\ #{[^}]*} " contained
49- syn match rubyNoInterpolation " \\ #\% (\$\| @@\=\)\w\+ " contained display
48+ syn region rubyNoInterpolation start = " \\ #{" end = " } " contained
49+ syn match rubyNoInterpolation " \\ #\% (\$\| @@\=\)\w\+ " contained display
5050
5151syn match rubyDelimEscape " \\ [(<{\[ )>}\] ]" transparent display contained contains =NONE
5252
You can’t perform that action at this time.
0 commit comments