Am 13.10.2018 um 11:09 schrieb Cyril Ferlicot <cyril.ferlicot@gmail.com>:
On sam. 13 oct. 2018 at 10:42, Norbert Hartl <norbert@hartl.name> wrote: I donât want to kick off another war but shouldnât we add pharo as a language to github. Now it is a topic but the configurations for linguist are still tying it to smalltalk.
Norbert
Hi,
Linguist find the language based on theee things: - what is written on the .gitattribute file - the extension of the file - the source code (it compares it with examples)
Since multiple Smalltalk shares FileTree format and Tonel format, the extensions and source code will be the same for Pharo and other Smalltalk.
Introducing a "Pharo" language would force everyone to add a .gitattribute file to their project, and I'm sure not that many people will do it.
That is not a problem because the ones that want to distinguish do and the rest does not. But after sending the message I started to think it would only make sense when we switch the file ending to something else then .st Maybe to big a change and not important enough. Norbert
-- Cyril Ferlicot https://ferlicot.fr