mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Clean up __characterPairSupport, fixes #6889
This commit is contained in:
@@ -419,6 +419,12 @@ export class ExtHostAPIImplementation {
|
||||
setWordDefinitionFor(modeId, null);
|
||||
}
|
||||
|
||||
// backward compatibility, migrate deprecated setting
|
||||
if (configuration.__characterPairSupport && !configuration.autoClosingPairs) {
|
||||
configuration.autoClosingPairs = configuration.__characterPairSupport.autoClosingPairs;
|
||||
delete configuration.__characterPairSupport;
|
||||
}
|
||||
|
||||
return this.Modes_RichEditSupport_register(modeId, configuration);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user