mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
remove autoClosingPairs, surroundingPair in favour of deprecated api and language config file, fixes #8737
This commit is contained in:
@@ -837,12 +837,6 @@ export class ExtHostLanguageFeatures {
|
||||
this._documents.setWordDefinitionFor(languageId, null);
|
||||
}
|
||||
|
||||
// backward compatibility, migrate deprecated setting
|
||||
if (configuration.__characterPairSupport && !configuration.autoClosingPairs) {
|
||||
configuration.autoClosingPairs = configuration.__characterPairSupport.autoClosingPairs;
|
||||
delete configuration.__characterPairSupport;
|
||||
}
|
||||
|
||||
const handle = this._nextHandle();
|
||||
this._proxy.$setLanguageConfiguration(handle, languageId, configuration);
|
||||
return this._createDisposable(handle);
|
||||
|
||||
Reference in New Issue
Block a user