Custom provider tries to initialize the module even when it is not set or loaded #1070
Open
2 tasks done
Labels
bug
Something isn't working
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
It is just a minor issue.
When I define a custom provider, it tries to
require
the module even if it is not set or enabled.This becomes an issue when the actual module is not loaded.
In the example provided, I want to add the module to the sources list only if it is loaded—in our case,
lazydev
. However, I still get an error because there is no way to skip the initialization.Error
Error:cmdline
Relevant configuration
neovim
versionNVIM v0.11.0-dev-1558+gbc69f27237
blink.cmp
versionv0.10.0 and later
The text was updated successfully, but these errors were encountered: