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

fzf Doesn't load all Helptags before showing entries when runnign nvim +Helptags from bash #1532

Closed
MikeLemo1 opened this issue Mar 19, 2024 · 4 comments
Labels

Comments

@MikeLemo1
Copy link

Basically the title is self explanatory, when running nvim +Helptags in bash nvim open helptags fzf with 14K entries, closing and refreshing it manually gives around 15K.
Any idea how to make fzf wait for all helptags to load before displaying :Helptags from bash or reloading it dynamically?

@junegunn
Copy link
Owner

Have you set up "lazy-loading" of your plugins using your plugin manager? That's probably why.

@MikeLemo1
Copy link
Author

Huh yeah also forgot to mention I use lazy.
Is there a simple straight forward way to load / disable this feature per this command or would I have to make somewhat of a global sacrifice to make this Helptags feature work properly?
All I'm trying to achieve is access to full nvim helptags list with a keyboard shortcut from bash

@MikeLemo1
Copy link
Author

And loading it with nvim +Helptags! also don't work from this issue

@junegunn
Copy link
Owner

junegunn commented Mar 21, 2024

I'm not familiar with "lazy" and I'm not even a Neovim user, so I can't be of much help. But if it provides an API to load plugins that are not yet loaded, you can write your own command that

  1. loads all plugins
  2. then runs Helptags

With vim-plug, something like this

command! AllHelptags call plug#load(keys(g:plugs)) | Helptags

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

No branches or pull requests

2 participants