mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
use proper settings name in code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user