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

Core: Added better error message for missing grammars #3311

merged 1 commit into from Feb 2, 2022


Copy link

@RunDevelopment RunDevelopment commented Jan 27, 2022

As mentioned in #3310. The error message users get when incorrectly loading grammars is quite non-descriptive. I added a little error that says that there is no grammar for the input language.

Copy link

@github-actions github-actions bot commented Jan 27, 2022

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +36 B (+1.2%).

file master pull size diff % diff
components/prism-core.min.js 3.09 KB 3.13 KB +36 B +1.2%

Generated by 🚫 dangerJS against 0fddf4f

JaKXz approved these changes Jan 31, 2022
Copy link

@JaKXz JaKXz left a comment


@RunDevelopment RunDevelopment merged commit 2cc4660 into PrismJS:master Feb 2, 2022
12 checks passed
@RunDevelopment RunDevelopment deleted the issue3310 branch Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants