Skip to content

Commit

Permalink
Add refinement methods
Browse files Browse the repository at this point in the history
Add support for the refinement methods using and refine.
  • Loading branch information
elifoster authored and infininight committed Mar 8, 2016
1 parent f2322b7 commit 28a5c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/Ruby.plist
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<key>comment</key>
<string> everything being a method but having a special function is a..</string>
<key>match</key>
<string>\b(initialize|new|loop|include|extend|prepend|fail|raise|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|module_function|public|protected)\b(?![?!])</string>
<string>\b(initialize|new|loop|include|extend|prepend|fail|raise|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|module_function|public|protected|refine|using)\b(?![?!])</string>
<key>name</key>
<string>keyword.other.special-method.ruby</string>
</dict>
Expand Down

0 comments on commit 28a5c28

Please sign in to comment.