Skip to content

Commit

Permalink
always create character pair support, fixes #8662
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jul 6, 2016
1 parent 8789498 commit e724f26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vs/editor/common/modes/languageConfigurationRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit e724f26

@DustinCampbell
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done!

Please sign in to comment.