remove autoClosingPairs, surroundingPair in favour of deprecated api and language config file, fixes #8737

This commit is contained in:
Johannes Rieken
2016-07-06 15:15:08 +02:00
parent fa7ce995f4
commit 7cb8e4514e
7 changed files with 66 additions and 75 deletions

View File

@@ -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);