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

Added test to sort the language list #2222

Merged

Conversation

RunDevelopment
Copy link
Member

When adding a new language, there's always the question of where to put it in the language list.
The language list is generally sorted alphabetically, so I added a test which exactly that with some slight modification to the normal ASCII order with the goal to have a sensible language order.

I also changed some title which I felt where too long (e.g. "Augmented Backus–Naur form" -> "ABNF") or to make easier to find (e.g. "Gamemaker Language" -> "GML: Gamemaker Language").

This should also make code review easier because misplaced entries in the language list are quite common.

components.json Outdated Show resolved Hide resolved
@RunDevelopment
Copy link
Member Author

I resolved the conflicts.

Regarding aliases: I just reverted my name changes.

@RunDevelopment
Copy link
Member Author

I'm such an idiot. Maybe I should also read the suggested changes?

Yeah. Let me just change the titles to ABFN, BFN, and EBNF. I think people will know what the abbreviations mean and for those that don't, there's Google.

@RunDevelopment RunDevelopment merged commit a375872 into PrismJS:master Jun 27, 2020
quentinvernot pushed a commit to TankerHQ/prismjs that referenced this pull request Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants