[CHANGED] When an environment variable called TM_MINIMIZE_PARENS is set to YES, the assert_* snippets, that do not take a block, in the Ruby bundle will insert their content without wrapping arguments in parentheses. This is to make the methods more compatible with common Rails style, though it does not follow the Rails convention to the letter. I will entertain requests to add this functionality to other snippets on a case by case basis.
Changed: U trunk/Bundles/Ruby.tmbundle/Snippets/assert(..) (as).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_equal.tmSnippet U trunk/Bundles/Ruby.tmbundle/Snippets/assert_in_delta(..) (asid).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_instance_of(..) (asio).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_kind_of(..) (asko).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_match(..) (asm).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_nil(..) (asn).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_no_match(..) (asnm).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_not_equal(..) (asne).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_not_nil(..) (asnn).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_not_same(..) (asns).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_operator(..) (aso).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_respond_to(..) (asrt).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_same(..) (ass).plist U trunk/Bundles/Ruby.tmbundle/Snippets/assert_send(..) (ass).plist U trunk/Bundles/Ruby.tmbundle/Snippets/flunk(..) (fl).plist A trunk/Bundles/Ruby.tmbundle/Support/bin/snippet_paren.rb _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/mailman/listinfo/textmate-dev
