plugins/textmate/lib/textmate.rb in redcar-0.3.10.0dev vs plugins/textmate/lib/textmate.rb in redcar-0.3.10.1dev

- old
+ new

@@ -6,12 +6,13 @@ require 'textmate/snippet' module Redcar module Textmate def self.all_bundle_paths - Dir[File.join(Redcar.root, "plugins", "textmate", "vendor", "redcar-bundles", "Bundles", "*")] + Dir[File.join(Redcar.root, "plugins", "textmate", "vendor", "redcar-bundles", "Bundles", "*")] + + Dir[File.join(Redcar.user_dir, "Bundles", "*")] end - + def self.uuid_hash @uuid_hash ||= begin h = {} all_bundles.each do |b| h[b.uuid] = b