Replies: 2 comments 2 replies
-
Those are very simple plugins and should definitely work. What do you mean eactly when you say it doesn't work? Please report an issue with a proper minimal |
Beta Was this translation helpful? Give feedback.
1 reply
-
Also, your files paths are wrong. You mean excerpt from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone; and @folke, thank you so much for yet another amazing plugin.
Coming from
wbthomason/packer.nvim
, I tried migrating my setup with ~25 plugins tofolke/lazy.nvim
; there’s probably quite some improvement to be made with my LSP setup viaVonHeikemen/lsp-zero.nvim
, but that’s for another discussion.I’m calling
require("lazy").setup("config.plugin", { … })
fromlua/config/lazy.lua
; and in that file, I’m trying to lazily load all plugins that don’t need anyconfig()
/setup()
.Here’s an excerpt from
lua/config/plugin/init.lua
:As far as I can tell, the latter four plugins load successfully with
event = "VeryLazy"
; forrstacruz/vim-closer
andtpope/vim-endwise
, I cannot get any lazy loading to work withevent = "VeryLazy"
,event = "VimEnter"
, orevent = "VimEnter"
, and I’m not really sure what the problem might be.Here’s the output of
:Lazy
with working but not lazily loadedrstacruz/vim-closer
andtpope/vim-endwise
:Please let me know if there’s any more information I should be providing.
Thank you in advance for helping out.
Beta Was this translation helpful? Give feedback.
All reactions