Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: nvm: only show node version if folder has package.json #2216

Open
enjunear opened this issue Aug 26, 2023 · 0 comments
Open

[Feature]: nvm: only show node version if folder has package.json #2216

enjunear opened this issue Aug 26, 2023 · 0 comments

Comments

@enjunear
Copy link

Expected behavior

The nvm plugin should only show the node version if the current folder has a package.json file.
Otherwise, don't show the node version.

Current behavior

Always shows the node version when the plugin is loaded.

Possible solution

I don't know, but there's a similar discussion here: romkatv/powerlevel10k#373

Context

It just takes up extra line space when it is not relevant. E.g., working on a python project, or working on ansible.

Notes

You guys are awesome. <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant