-
Hello all, I am reading it at the moment and I'm foreshadowing a problem that I think is quite specific to Ligo. We have multiple syntaxes, so different file extensions which are connected to different syntax highlighters, but for the same language. I will look into the source code but I assume this use-case doesn't exist yet and wasn't planned, does it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is done by adding each syntax as a separate languag then grouping all these dialects under a parent language category using the Each file extension needs to be used in 200+ repos to be added to linguist, however. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your replies, I have made the pull request : #5811 |
Beta Was this translation helpful? Give feedback.
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.