Feat Request: Add scala version item
Is your feature request related to a problem? Please describe
Nope
Describe the solution you'd like
Add scala version item.
Icon
There are 2 icons in the Nerd Font Collection:
-  : \ue737
-  : \ue68e We can use any of those as a default one, but I personally prefer the second one.
Color
#df311e : Wikipedia page #dc3330 : Official Scala page
Regex
scala --version &| string match -qr "(?<v>[\d.]+)" | echo $v
Additional context
I think version should come from build.sbt scalaVersion
I think version should come from
build.sbtscalaVersion
Yeah, I also believe that this would be the most relevant info about version of Scala, but there is one issue I've found.
The issue is that it takes near 5 seconds to get scalaVersion via sbt scalaVersion in pretty basic project. I actually didn't dive into it deeper since I'm not sure should version be taken from a build system - all(I suppose) other language versions are taken directly from the executable available in the PATH, ignoring any local file directives / build system overrides regarding language version.