File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ syn match rubySymbol "[]})\"':]\@<!:\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)
103103syn region rubySymbol start =" []})\" ':]\@ <!:'" end =" '" skip =" \\\\\|\\ '" contains =rubyQuoteEscape fold
104104syn region rubySymbol start =" []})\" ':]\@ <!:\" " end =" \" " skip =" \\\\\|\\\" " contains =@rubyStringSpecial fold
105105
106+ syn match rubyCapitalizedMethod " \% (\% (^\| [^.]\)\.\s *\)\@ <!\<\u\% (\w\| [^\x 00-\x 7F]\) *\>\% (\s *(\) *\s *(\@ ="
107+
106108syn match rubyBlockParameter " \% (\h\| [^\x 00-\x 7F]\)\% (\w\| [^\x 00-\x 7F]\) *" contained
107109syn region rubyBlockParameterList start =" \% (\% (\< do\>\| {\)\s *\)\@ <=|" end =" |" oneline display contains =rubyBlockParameter
108110
@@ -336,6 +338,7 @@ hi def link rubyAccess Statement
336338hi def link rubyAttribute Statement
337339hi def link rubyEval Statement
338340hi def link rubyPseudoVariable Constant
341+ hi def link rubyCapitalizedMethod rubyLocalVariableOrMethod
339342
340343hi def link rubyComment Comment
341344hi def link rubyData Comment
You can’t perform that action at this time.
0 commit comments