Permalink
Browse files

Allow for method names that end in =

Further fixes #59.
  • Loading branch information...
1 parent 8930abb commit 50782f8448f3dc4e58ead771519ab0b5750411f4 @infininight infininight committed Feb 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/New Method.plist
@@ -18,7 +18,7 @@ def #{e_sn ENV["TM_SELECTED_TEXT"]}\${1/.+/(/}\${1:args}\${1/.+/)/}
end
END_SNIPPET
else
- word = Word.current_word(/([?!]?(?:\w(?=[a-zA-Z_]))*[a-zA-Z_](?:(?:\.|::)(?:\w(?=[a-zA-Z_]))*[a-zA-Z_])?)(.*$)/, :hash)
+ word = Word.current_word(/([=?!]?(?:\w(?=[a-zA-Z_]))*[a-zA-Z_](?:(?:\.|::)(?:\w(?=[a-zA-Z_]))*[a-zA-Z_])?)(.*$)/, :hash)
if word[:left].empty?
TextMate.exit_show_tool_tip(

0 comments on commit 50782f8

Please sign in to comment.