Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rieken <johannes.rieken@gmail.com>2016-07-06 16:38:08 +0300
committerJohannes Rieken <johannes.rieken@gmail.com>2016-07-06 16:38:08 +0300
commite724f269ded347b49fcf1657fc576399354e6703 (patch)
tree42e2c6586a1015f528fb318c7c9ca723028e5267
parent8789498c01436a1b7f5c4858ed6b78111de38230 (diff)
always create character pair support, fixes #86621.3.0
-rw-r--r--src/vs/editor/common/modes/languageConfigurationRegistry.ts4
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);