Skip to content

How to contribute a tree-sitter grammar for a language so that GH highlights it? #6073

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

You must be logged in to vote

There isn't currently a public process adding a tree-sitter grammar as this isn't handled by Linguist. This is handled internally by another team that controls the syntax highlighting service. The best I can suggest is starting a discussion at https://git.luolix.topmunity or opening a support ticket using the "Contact GitHub" link at the bottom of any page on GitHub asking for this to be considered.

If you have a TextMate compatible grammar, we can certainly add support for the language (we'll need to do this anyway) and use that via Linguist in the mean time, assuming the new language meets the documented popularity requirements. See the CONTRIBUTING.md file for more deets. If and when a Tre…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Baccata
Comment options

@lildude
Comment options

@Baccata
Comment options

@jjant
Comment options

Answer selected by jjant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants