use proper settings name in code

This commit is contained in:
Johannes Rieken
2016-09-23 15:29:38 +02:00
parent 1e0779d358
commit 73e3f8d9b2

View File

@@ -86,7 +86,7 @@ class FormatOnSaveParticipant implements ISaveParticipant {
participate(editorModel: ITextFileEditorModel, env: { isAutoSaved: boolean }): TPromise<any> {
if (env.isAutoSaved || !this._configurationService.lookup('files.formatOnSave').value) {
if (env.isAutoSaved || !this._configurationService.lookup('editor.formatOnSave').value) {
return;
}