mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Adresses #3534, request basic language features when a language is encountered during tokenization (#178785)
This commit is contained in:
parent
4a21266bdd
commit
1fb0914eef
|
@ -883,6 +883,7 @@ export class MonarchTokenizer implements languages.ITokenizationSupport, IDispos
|
|||
|
||||
if (languageId !== this._languageId) {
|
||||
// Fire language loading event
|
||||
this._languageService.requestBasicLanguageFeatures(languageId);
|
||||
languages.TokenizationRegistry.getOrCreate(languageId);
|
||||
this._embeddedLanguages[languageId] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue