提交 e724f269 编写于 作者: J Johannes Rieken

always create character pair support, fixes #8662

上级 8789498c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册