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

Adding custom commands that trigger lazy loading nvm/node #66

Open
joerideg opened this issue May 23, 2020 · 5 comments
Open

Adding custom commands that trigger lazy loading nvm/node #66

joerideg opened this issue May 23, 2020 · 5 comments

Comments

@joerideg
Copy link
Contributor

joerideg commented May 23, 2020

Hi,
First of all, thanks for your work on this plugin, its awesome.

I have the situation where my vim setup includes a plugin (coc and subplugins) that requires node to be available. Now if I enable NVM_LAZY_LOAD and start vim it would complain that node is not available. If I run 'node' before I start vim, node is of course available and there is no problem.

Would it be possible to add an option to configure additional commands that trigger the lazy load function? Maybe adding them to the global_binaries?

@lukechilds
Copy link
Owner

That sounds like it might work, can you try it?

@joerideg
Copy link
Contributor Author

My zsh script knowledge is limited but I can certainly learn & try :) I will see if I can provide a MR somewhere soon

@joerideg joerideg reopened this May 27, 2020
@joerideg
Copy link
Contributor Author

Sorry about that closing, accidentally hit ctrl+enter

@TerrorSquad

This comment has been minimized.

@TerrorSquad

This comment has been minimized.

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

No branches or pull requests

3 participants