You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Help for debug plugins is not found, for instance for dap.txt.
Help files are found after the first time the debugger is activated.
I have done some investigation and this has been caused by #1216.
Loading a plugin only when needed is great for optimizing resources, but help files should be always available, shouldn't they?
I opened this as a bug but maybe this is the expected behavior?
Maybe this is an issue of Lazy itself.
I opened this as a bug but maybe this is the expected behavior?
Maybe this is an issue of Lazy itself
That's correct. the lazy-loaded plugin directory is not loaded until the activation condition is met, so of course the help files are not loaded either.
If you have any feedback regarding this specification, you can file an issue in the lazy.nvim repository.
If you haven't had much response from the lazy.nvim team on this, and you'd like to suggest changes to the lazy-loading event of debug.lua in this project, I must admit that my personal opinion is not entirely in favour. I believe that the advantage of enabling a plugin only when necessary by entering a specific key outweighs the benefit of having unloaded plugin help files available at all times. Moreover, the activation key for it can be found by which-key.nvim at any time.
Describe the bug
Help for debug plugins is not found, for instance for
dap.txt
.Help files are found after the first time the debugger is activated.
I have done some investigation and this has been caused by #1216.
Loading a plugin only when needed is great for optimizing resources, but help files should be always available, shouldn't they?
I opened this as a bug but maybe this is the expected behavior?
Maybe this is an issue of Lazy itself.
By the way, thanks for all the great work 🚀
To Reproduce
:h dap.txt
(autocompletion does not work)Observed
Expected
Help file https://github.com/mfussenegger/nvim-dap/blob/cc92b054720a96170eca6bd9bdedd43d2b0a7a8a/doc/dap.txt is shown
Desktop
Neovim Version
The text was updated successfully, but these errors were encountered: