Skip to content

Conversation

mikavilpas
Copy link
Contributor

Adding this causes lazy.nvim to load the plugin when the command is executed. The default is to load the plugin when nvim is started.

It seems to work fine for me, but I'm not sure if all the features work correctly.

See here for the docs:

https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec

I enabled it like this in my personal config: mikavilpas/dotfiles@017cb2b

Adding this causes lazy.nvim to load the plugin when the command is
executed. The default is to load the plugin when nvim is started.

It seems to work fine for me, but I'm not sure if all the features work
correctly.

See here for the docs:

https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec
@aaronhallaert
Copy link
Owner

Hi @mikavilpas
Appreciate the PR!
I was concerned the plugin wouldn't load when executing through Telescope with Telescope advanced_git_search show_custom_functions. However, I tested it, and it lazy-loads through this command implicitly, so the change looks good to me.

@mikavilpas
Copy link
Contributor Author

Oh that's a good point; I hadn't realized that might be an issue. It seems to work for me using that command as well.

Let me know if you have more thoughts, maybe I can help with testing.

@aaronhallaert aaronhallaert merged commit a35c0ba into aaronhallaert:main Apr 4, 2024
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

Successfully merging this pull request may close these issues.

3 participants