Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugin-shiki): export bundled languages and their names and improve performance #163

Merged
merged 2 commits into from
May 29, 2024

Conversation

Mister-Hope
Copy link
Member

  1. isSpecialLang includes isPlainLang
  2. loadedLanguages should be unchanged after highlighter is resolved.
  3. User might need to get these bundledLanguages sometimes.

@Mister-Hope Mister-Hope changed the title feat(plugin-shiki): performance improvements and export bundled languages and their names feat(plugin-shiki): export bundled languages and their names and improve performance May 28, 2024
@coveralls
Copy link

coveralls commented May 28, 2024

Pull Request Test Coverage Report for Build 9280447759

Details

  • 3 of 5 (60.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 56.505%

Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/plugin-shiki/src/node/resolveHighlight.ts 3 5 60.0%
Totals Coverage Status
Change from base Build 9280370196: -0.01%
Covered Lines: 996
Relevant Lines: 1576

💛 - Coveralls

@Mister-Hope Mister-Hope enabled auto-merge (squash) May 29, 2024 04:52
@Mister-Hope Mister-Hope merged commit 812f7e7 into main May 29, 2024
32 checks passed
@Mister-Hope Mister-Hope deleted the shiki-lang branch May 29, 2024 05:12
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.

3 participants