nvim-neorocks / rocks-lazy.nvim

:sloth: A lazy-loading module for rocks.nvim
GNU General Public License v3.0
30 stars 0 forks source link

Lazy loading rocks-git.nvim plugins with `event = 'DeferredUIEnter'` causes error #4

Closed TarunDaCoder closed 3 months ago

TarunDaCoder commented 3 months ago

Hello, I am using rocks-lazy to lazy load gitsigns.nvim with event = 'DeferredUIEnter But when I do :Rocks sync and open neovim I get this error. image

My neovim version:

Build type: RelWithDebInfo
LuaJIT 2.1.1703358377
Run "nvim -V1 -v" for more info

My rocks.nvim version

rocks.nvim = '2.32.1'

Steps to reproduce

add event = 'DeferredUIEnter to any of your plugins in your rocks.toml and call the setup function in one of your files

mrcjkb commented 3 months ago

Are you by any chance using rocks-git.nvim to install gitsigns.nvim?

Could you please share:

TarunDaCoder commented 3 months ago

Are you by any chance using rocks-git.nvim to install gitsigns.nvim?

Yes, indeed I am. And it seems that the error is only cause by plugins installed using rocks-git.nvim