trigger onTypeFormat on esc

This commit is contained in:
chemzqm 2018-09-21 20:57:35 +08:00
parent ca638352d5
commit dfb7ce5d3b

View file

@ -205,7 +205,7 @@ export default class LanguageProvider {
languages.registerDocumentRangeFormatProvider(languageIds, formatProvider)
)
this.disposables.push(
languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n'])
languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n', '\033'])
)
// this.disposables.push(