User settings instead of default

Fixes the issue of only getting the default settings from
atom.config.getSettings() to get the user settings from
atom.config.get()
This commit is contained in:
Alejandro Paredes Alva 2014-12-19 17:00:02 +01:00
parent ae9ff90435
commit 3499c11120
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ findConfig = (config, file, upwards=true) ->
return home if verifyExists(home)
null
getConfigOptionsFromSettings = (langs) ->
config = atom.config.getSettings()["atom-beautify"]
config = atom.config.get('atom-beautify')
options = {}
# console.log(langs, config);
# Iterate over keys of the settings