onefetch icon indicating copy to clipboard operation
onefetch copied to clipboard

Language request: Typst

Open foxyseta opened this issue 1 year ago • 9 comments

Language Name 🖊

Typst https://typst.app

Logo 📷

Typst logo

Upstream support ✅

  • [X] Does tokei already support the language in question?

foxyseta avatar Jun 20 '24 00:06 foxyseta

Looks like Typst isn't available in the latest release of Tokei yet

spenserblack avatar Jun 20 '24 01:06 spenserblack

It is not documented in the README, but it has been implemented already, at least on their default branch.

foxyseta avatar Jun 20 '24 01:06 foxyseta

Implemented languages in current latest release: https://docs.rs/tokei/13.0.0-alpha.1/tokei/enum.LanguageType.html

This was released 4 months ago, Typst support was merged in last month.

spenserblack avatar Jun 20 '24 01:06 spenserblack

Oh yeah, sorry, again, I was looking at their defaupt branch rather that at their releases.

foxyseta avatar Jun 20 '24 09:06 foxyseta

No worries! Unfortunately we can't be on the "bleeding edge" by depending on the default branch or any git refs, as that would prohibit releases to crates.io (also, stability concerns).

spenserblack avatar Jun 20 '24 13:06 spenserblack

I see! Feel free to close this issue as "not planned" then.

foxyseta avatar Jun 20 '24 14:06 foxyseta

Oh, we can still eventually support Typst :slightly_smiling_face: I just mean it won't be possible right away

spenserblack avatar Jun 20 '24 16:06 spenserblack

Okay, thank you so much, then!

foxyseta avatar Jun 20 '24 17:06 foxyseta

The glyph for this filetype will be available at codepoint \uf37f when new NF releases new version.

hasecilu avatar Sep 01 '24 18:09 hasecilu

Tokei now supports Typst: https://github.com/XAMPPRocky/tokei/blob/master/CHANGELOG.md#1300-alpha2---2024-08-19

foxyseta avatar Jan 14 '25 00:01 foxyseta

PR welcome!

spenserblack avatar Jan 14 '25 00:01 spenserblack

Should have time to work on this soon enough.

foxyseta avatar Jan 14 '25 00:01 foxyseta