Skip to content

Adding highlighting for Ligo, a language with many syntaxes #5733

Answered by Nixinova
pewulfman asked this question in Q&A
Discussion options

You must be logged in to vote

different file extensions which are connected to different syntax highlighters, but for the same language.

This is done by adding each syntax as a separate languag then grouping all these dialects under a parent language category using the group key in the languages.yml file.

Each file extension needs to be used in 200+ repos to be added to linguist, however.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pewulfman
Comment options

Answer selected by pewulfman
Comment options

You must be logged in to vote
0 replies
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