wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
264 stars 41 forks source link

Incorrent language shown for nu #917

Closed Yakiyo closed 10 months ago

Yakiyo commented 11 months ago

I've been tinkering around with nushell for a bit. It seems wakatime has been detecting the language wrong

Expected behavior (what should have happened): Should detect .nu files as nushell (not sure wether nu is a registered language or not in wakatime). Github seems to show .nu files as nushell, so it could be either collected as a separate lang or maybe consider it just shell scripts. idk

Actual behavior (what went wrong): Its been logging it as gdscript (i assume its godot but idk)

Environment:

Logs: None

gandarez commented 11 months ago

@Yakiyo Nushell is not already implemented as a language in the Chroma library. As a workaround we can add this language in wakatime-cli.