lib/bond/completion.rb in cldwalker-bond-0.1.3 vs lib/bond/completion.rb in cldwalker-bond-0.1.4

- old
+ new

@@ -19,10 +19,10 @@ # Completes global variables Bond.complete(:on=>/(\$[^\s.]*)$/, :search=>false) {|e| global_variables.grep(/^#{Regexp.escape(e.matched[1])}/) } # Completes files -Bond.complete(:on=>/\s+["']([^'"]*)$/, :search=>false, :action=>:quoted_files, :place=>:last) +Bond.complete(:on=>/[\s(]["']([^'"]*)$/, :search=>false, :action=>:quoted_files, :place=>:last) # Completes any object's methods Bond.complete(:object=>"Object", :place=>:last) # Completes method completion anywhere in the line Bond.complete(:on=>/([^.\s]+)\.([^.\s]*)$/, :object=>"Object", :place=>:last) \ No newline at end of file