mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
multi root - adopt more folder specific settings
This commit is contained in:
@@ -142,7 +142,7 @@ class FormatOnSaveParticipant implements INamedSaveParticpant {
|
||||
|
||||
const model = editorModel.textEditorModel;
|
||||
if (env.reason === SaveReason.AUTO
|
||||
|| !this._configurationService.lookup('editor.formatOnSave', model.getLanguageIdentifier().language).value) {
|
||||
|| !this._configurationService.lookup('editor.formatOnSave', { overrideIdentifier: model.getLanguageIdentifier().language, resource: editorModel.getResource() }).value) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user