Skip to content

refactor(language-core): resolved language ID by LangaugePlugin#168

Merged
johnsoncodehk merged 2 commits intomasterfrom
language-id
Apr 30, 2024
Merged

refactor(language-core): resolved language ID by LangaugePlugin#168
johnsoncodehk merged 2 commits intomasterfrom
language-id

Conversation

@johnsoncodehk
Copy link
Member

Endpoints is no longer required to provide getLanguageId, but require provided by the LanguagePlugin. Because LanguagePlugin has the complete context to calculate languageId of a file path. For Vue, it depends on extensions, vitePressExtensions, petiteVueExtensions options.

@johnsoncodehk johnsoncodehk merged commit e3a3318 into master Apr 30, 2024
@johnsoncodehk johnsoncodehk deleted the language-id branch April 30, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant