Originally created by @1cedsoda on GitHub (Feb 14, 2024).
GitHub Linguist can detect the language of a file based on different methods.
It is related to syntax highlighting on GitHub and to generate language statistics inside GitHub repos:
I think it's a problem, that there already is another format called pickle with the file extension .pkl. Its Python related.
Would be great to add pkl grammar to linguist as it improves code readability on GitHub.
Linguist has quantitative requirements of how many public files of a specific language are hosted on GitHub, before they consider adding it, which might have not been reached yet.
Originally created by @1cedsoda on GitHub (Feb 14, 2024).
[GitHub Linguist](https://github.com/github-linguist/linguist) can detect the language of a file based on different methods.
It is related to syntax highlighting on GitHub and to generate language statistics inside GitHub repos:
<img width="167" alt="image" src="https://github.com/apple/pkl/assets/29167146/1d1a0380-1bcd-467b-97a0-85f56838f2c4">
I think it's a problem, that there already is [another format called pickle](https://github.com/github-linguist/linguist/blob/559a6426942abcae16b6d6b328147476432bf6cb/lib/linguist/languages.yml#L5206-L5212) with the file extension `.pkl`. Its Python related.
Would be great to add pkl grammar to linguist as it improves code readability on GitHub.
Linguist has quantitative requirements of how many public files of a specific language are hosted on GitHub, before they consider adding it, which might have not been reached yet.
Support for Pkl in Linguist is being added by this PR. We just noticed this issue was open now so I'm adding a reference here for tracking.
@darvld commented on GitHub (Feb 25, 2024):
Support for Pkl in Linguist is being added by [this PR](https://github.com/github-linguist/linguist/pull/6718). We just noticed this issue was open now so I'm adding a reference here for tracking.
@HT154 commented on GitHub (Jun 11, 2024):
Pkl support landed in linguist with https://github.com/github-linguist/linguist/pull/6730 and should be broadly available on github.com now.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @1cedsoda on GitHub (Feb 14, 2024).
GitHub Linguist can detect the language of a file based on different methods.
It is related to syntax highlighting on GitHub and to generate language statistics inside GitHub repos:
I think it's a problem, that there already is another format called pickle with the file extension
.pkl. Its Python related.Would be great to add pkl grammar to linguist as it improves code readability on GitHub.
Linguist has quantitative requirements of how many public files of a specific language are hosted on GitHub, before they consider adding it, which might have not been reached yet.
@bioball commented on GitHub (Feb 15, 2024):
It's in the works!
@darvld commented on GitHub (Feb 25, 2024):
Support for Pkl in Linguist is being added by this PR. We just noticed this issue was open now so I'm adding a reference here for tracking.
@HT154 commented on GitHub (Jun 11, 2024):
Pkl support landed in linguist with https://github.com/github-linguist/linguist/pull/6730 and should be broadly available on github.com now.
@bioball commented on GitHub (Jun 11, 2024):
Closing this one as it's now completed.