Skip to content
Browse files

Use TM_APP_IDENTIFIER to find the preference file.

  • Loading branch information...
1 parent c7a5889 commit f8de0e81e8f56e4c9b3980356df9898399b78e5c @infininight infininight committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/lib/settings.rb
View
2 Support/lib/settings.rb
@@ -59,7 +59,7 @@ class Settings
]
def self.markers
- plist = open(ENV['HOME'] + '/Library/Preferences/com.macromates.textmate.plist') { |io| OSX::PropertyList.load(io) }
+ plist = open(ENV['HOME'] + "/Library/Preferences/#{ENV['TM_APP_IDENTIFIER'] || 'com.macromates.textmate'}.plist") { |io| OSX::PropertyList.load(io) }
res = plist['TODO Markers'] || @defaults
res.map { |e| Marker.new(e) }.reject { |e| e.disabled? }
end

0 comments on commit f8de0e8

Please sign in to comment.
Something went wrong with that request. Please try again.