onefetch icon indicating copy to clipboard operation
onefetch copied to clipboard

Please add Smalltalk support

Open Kirtai opened this issue 4 years ago • 6 comments

When used in a Smalltalk repo like https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev it misidentifies it as CSS.

Kirtai avatar Dec 12 '20 16:12 Kirtai

What even is the Smalltalk logo?

Is it this?

Smalltalk-powered

So should the ascii art be a hot air balloon?

HallerPatrick avatar Dec 12 '20 17:12 HallerPatrick

Yes, it's a colourful, striped hot air balloon. Searching for "Smalltalk balloon" will give lots of examples. The original was on the cover of Byte Magazine here

Kirtai avatar Dec 12 '20 19:12 Kirtai

Currently, onefetch uses tokei to detect languages. It appears that tokei doesn't yet support smalltalk (see XAMPPRocky/tokei#316).

@Kirtai, If you're interested in adding Smalltalk support to tokei, it's very easy -- all you should need to do is add a new object with a few keys to a JSON file, and create a test file for the added language.

spenserblack avatar Dec 12 '20 20:12 spenserblack

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 14 '21 03:03 stale[bot]

XAMPPRocky/tokei/pull/839 should add support for smalltalk, apon which it can be added to onefetch.

@Kirtai , if you want to get the groundwork ready for smalltalk in onefetch, hopefully the PR in tokei should be resolved soon.

jake-87 avatar Oct 26 '21 00:10 jake-87

Linking #1152 to PRs and issues that will probably be affected.

spenserblack avatar Aug 29 '23 20:08 spenserblack