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
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.9.2
Operating system/version
arch linux
Describe the bug
In LazyVim, plugin nvim-lspconfig has neoconf.nvim in its dependencies.
The definition of neoconf.nvim inside those dependencies also contains a dependency, back to nvim-lspconfig.
Using lazy.nvim version 10.4.0 and LazyVim, neovim freezes when conditionally disabling neoconf.nvim or nvim-lspconfig.
The previous version of lazy.nvim, without #1058, runs just fine
Note:
using enabled=false works as intended
using cond=false works as intended for other plugins
abeldekat
changed the title
bug: neovim can freez on cond = false using lazy.nvim v10.4.0
bug: neovim freezes on cond = false using lazy.nvim v10.4.0
Sep 30, 2023
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.2
Operating system/version
arch linux
Describe the bug
In LazyVim, plugin
nvim-lspconfig
hasneoconf.nvim
in its dependencies.The definition of
neoconf.nvim
inside those dependencies also contains a dependency, back tonvim-lspconfig
.Using lazy.nvim version 10.4.0 and LazyVim, neovim freezes when conditionally disabling
neoconf.nvim
ornvim-lspconfig
.The previous version of lazy.nvim, without #1058, runs just fine
Note:
enabled=false
works as intendedcond=false
works as intended for other pluginsSteps To Reproduce
nvim -u repro.lua repro.lua
{ "folke/neoconf.nvim", cond = false }
nvim -u repro.lua repro.lua
{ "neovim/nvim-lspconfig", cond = false }
,Expected Behavior
The plugins can be conditionally disabled, as in older versions of
lazy.nvim
Repro
The text was updated successfully, but these errors were encountered: