fix(picker): weird loading issue sith startinsert. Fixes #724

This commit is contained in:
Folke Lemaitre 2025-01-23 23:57:22 +01:00
parent fbb54faec5
commit 2ebe40cb67
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -50,7 +50,9 @@ M.meta = {
}
-- create actual picker functions for autocomplete
vim.schedule(M.config.setup)
vim.defer_fn(function()
M.config.setup()
end, 10)
--- Create a new picker
---@param source? string