diff --git a/src/app/text-mate-theme.coffee b/src/app/text-mate-theme.coffee index 956bcbdf1..2424bc2d3 100644 --- a/src/app/text-mate-theme.coffee +++ b/src/app/text-mate-theme.coffee @@ -18,10 +18,9 @@ class TextMateTheme extends Theme super buildRulesets: -> - plist.parseString fs.read(@path), (error, [{settings}]) => - throw new Error("Error loading theme at '#{@path}': #{error}") if error - @buildGlobalSettingsRulesets(settings[0]) - @buildScopeSelectorRulesets(settings[1..]) + {settings} = plist.parseFileSync(@path) + @buildGlobalSettingsRulesets(settings[0]) + @buildScopeSelectorRulesets(settings[1..]) getStylesheet: -> lines = []