Closed hansl closed 2 years ago
Hey @bobthecow , do you think there's anything missing from this PR? I've been using it locally for a while now and it works great. It just toggles whether or not the node version should be shown.
Basically I set it up so that I show only when there's a package.json, e.g.
Let me know, thanks!
@bobthecow Thanks for the review. I addressed all points. PTAL.
I have another similar PR with Rust support that I will update when this one is approved, and ping you on when ready.
Cheers!
This PR is ready to be merged if you have no other comment. Thank you very much for the thorough review.
Thank you!
There are now 4 options for
$theme_display_node
:yes
to always show the version.rc
to show it if we can find a.nvmrc
or.node-version
file in the parent directories.package
to show it if we can find apackage.json
file in the parent directories.