Skip to content

Commit

Permalink
Allow for method names that end in =
Browse files Browse the repository at this point in the history
Further fixes #59.
  • Loading branch information
infininight committed Feb 25, 2014
1 parent 8930abb commit 50782f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/New Method.plist
Expand Up @@ -18,7 +18,7 @@ def #{e_sn ENV["TM_SELECTED_TEXT"]}\${1/.+/(/}\${1:args}\${1/.+/)/}
end end
END_SNIPPET END_SNIPPET
else 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? if word[:left].empty?
TextMate.exit_show_tool_tip( TextMate.exit_show_tool_tip(
Expand Down

0 comments on commit 50782f8

Please sign in to comment.