File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ if exists("ruby_operators") || exists("ruby_pseudo_operators")
9191 syn match rubyBooleanOperator " \% (\w\| [^\x 00-\x 7F]\)\@ 1<!!\| &&\| ||"
9292 syn match rubyRangeOperator " \.\.\.\= "
9393 syn match rubyAssignmentOperator " =>\@ !\| -=\| /=\|\*\* =\|\* =\| &&=\| &=\| ||=\| |=\| %=\| +=\| >>=\| <<=\|\^ ="
94- syn match rubyAssignmentOperator " =>\@ !" containedin =rubyBlockParameterList " TODO: this is inelegant
94+ syn match rubyAssignmentOperator " =>\@ !" contained containedin =rubyBlockParameterList " TODO: this is inelegant
9595 syn match rubyEqualityOperator " ===\| ==\| !=\| !\~\| =\~ "
9696
9797 syn region rubyBracketOperator matchgroup =rubyOperator start =" \% (\% (\w\| [^\x 00-\x 7F]\) [?!]\=\| []})]\)\@ 2<=\[ " end =" ]" contains =ALLBUT,@rubyNotTop
@@ -192,7 +192,7 @@ SynFold ':' syn region rubySymbol matchgroup=rubySymbolDelimiter start="[]})\"':
192192
193193syn match rubyCapitalizedMethod " \% (\% (^\| [^.]\)\.\s *\)\@ <!\<\u\% (\w\| [^\x 00-\x 7F]\) *\>\% (\s *(\)\@ ="
194194
195- syn region rubyParentheses start =" (" end =" )" contains =ALLBUT,@rubyNotTop containedin =rubyBlockParameterList
195+ syn region rubyParentheses start =" (" end =" )" contains =ALLBUT,@rubyNotTop contained containedin =rubyBlockParameterList
196196syn region rubyBlockParameterList start =" \% (\% (\< do\>\| {\)\_ s*\)\@ 32<=|" end =" |" contains =ALLBUT,@rubyNotTop,@rubyProperOperator
197197
198198if exists (' ruby_global_variable_error' )
You can’t perform that action at this time.
0 commit comments