coderstats icon indicating copy to clipboard operation
coderstats copied to clipboard

Vim Script is counted under two different labels

Open Jorenar opened this issue 3 years ago • 1 comments

One is Vim Script (capitalized S), other is Vim script (lowercase s)

screenshot-20220919_121323

Jorenar avatar Sep 19 '22 10:09 Jorenar

Thanks for the info. For some reason the GitHub API returns both variants. I checked your repos at https://api.github.com/users/Jorengarenar/repos?sort=pushed&per_page=100 and filtered the results as show in the screenshot. api github com

yaph avatar Sep 19 '22 19:09 yaph

Since there aren't any two languages the names of which differ only by letters case (and hopefully there never be such situation), would just converting all letters to lowercase be an acceptable solution?

Jorenar avatar Jan 03 '23 19:01 Jorenar

Yes, grouping by lowercase names seems fine. It would be nice to keep a mapping of the lowered labels with the original spelling for display purposes.

yaph avatar Jan 03 '23 20:01 yaph