diff --git a/src/server/languageProvider.ts b/src/server/languageProvider.ts index 4d35ce9..7d6bbcd 100644 --- a/src/server/languageProvider.ts +++ b/src/server/languageProvider.ts @@ -205,7 +205,7 @@ export default class LanguageProvider { languages.registerDocumentRangeFormatProvider(languageIds, formatProvider) ) this.disposables.push( - languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n', '\033']) + languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n', String.fromCharCode(27)]) ) // this.disposables.push(