diff options
author | Johannes Rieken <johannes.rieken@gmail.com> | 2016-07-06 16:38:08 +0300 |
---|---|---|
committer | Johannes Rieken <johannes.rieken@gmail.com> | 2016-07-06 16:38:08 +0300 |
commit | e724f269ded347b49fcf1657fc576399354e6703 (patch) | |
tree | 42e2c6586a1015f528fb318c7c9ca723028e5267 | |
parent | 8789498c01436a1b7f5c4858ed6b78111de38230 (diff) |
always create character pair support, fixes #86621.3.0
-rw-r--r-- | src/vs/editor/common/modes/languageConfigurationRegistry.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vs/editor/common/modes/languageConfigurationRegistry.ts b/src/vs/editor/common/modes/languageConfigurationRegistry.ts index dc07561ff73..397c86e6c2e 100644 --- a/src/vs/editor/common/modes/languageConfigurationRegistry.ts +++ b/src/vs/editor/common/modes/languageConfigurationRegistry.ts @@ -110,9 +110,7 @@ export class RichEditSupport { this._handleComments(modeId, this._conf); - if (this._conf.autoClosingPairs) { - this.characterPair = new CharacterPairSupport(LanguageConfigurationRegistry, modeId, this._conf); - } + this.characterPair = new CharacterPairSupport(LanguageConfigurationRegistry, modeId, this._conf); if (this._conf.__electricCharacterSupport || this._conf.brackets) { this.electricCharacter = new BracketElectricCharacterSupport(LanguageConfigurationRegistry, modeId, this.brackets, this._conf.__electricCharacterSupport); |