rename mode => language in many places (#139920)

This commit is contained in:
Benjamin Pasero
2021-12-30 12:40:30 +01:00
committed by GitHub
parent 4d4c4acd5f
commit 4cd3294855
50 changed files with 361 additions and 361 deletions

View File

@@ -109,7 +109,7 @@ export class ExtHostDocuments implements ExtHostDocumentsShape {
if (!data) {
throw new Error('unknown document');
}
// Treat a mode change as a remove + add
// Treat a language change as a remove + add
this._onDidRemoveDocument.fire(data.document);
data._acceptLanguageId(newLanguageId);