Skip to content

Line length limit difference in JavaScript and C++ #5483

Answered by lildude
am11 asked this question in Q&A
Discussion options

You must be logged in to vote

This will be due to two different syntax highlighting engines being used: our old engine called PrettyLights which uses TextMate-compatible grammars as supplied by Linguist (used for C++) and our new engine that uses tree-sitter grammars (used for JavaScript) that are provided outside of Linguist. A C++ tree-sitter grammar exists but hasn't been implemented on GitHub yet.

Unfortunately PrettyLights is not open source due to licensing reasons. It is also not getting any updates as we're concentrating on the tree-sitter engine and slowly adding more grammars as they become available. I'm not on the team that handles the syntax highlighting engines so I'm not privy to their plans as to when …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by am11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants