Unable to lazyload the plugin #122
-
hi @williamboman I tried lazyloading the plugin at If i dont lazyload, everything works but lspconfig is very heavy on startuptime. I tried adding |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello! Lazy-loading mason.nvim is not recommended as it is optimized to load as little as possible when calling the setup function. All it does is modify your PATH + sets up the user commands. If you still insist on doing it I'm afraid you'll have to dig into the source and debug it yourself. It should work fine if you just add the bin directory to your PATH and skip setup, so not sure why it's not working for you. |
Beta Was this translation helpful? Give feedback.
-
@williamboman seems like its added to the path but the client doesnt attach :/ look simplescreenrecorder-2022-07-25_06.33.46.mp4The same thing happens when I remove the lazyloading of nvm fixed it, i had to add |
Beta Was this translation helpful? Give feedback.
Hello! Lazy-loading mason.nvim is not recommended as it is optimized to load as little as possible when calling the setup function. All it does is modify your PATH + sets up the user commands. If you still insist on doing it I'm afraid you'll have to dig into the source and debug it yourself. It should work fine if you just add the bin directory to your PATH and skip setup, so not sure why it's not working for you.