Latest copilot-cmp requires passing opts to _on_insert_enter

This commit is contained in:
Ryan Schlesinger 2023-05-12 08:48:00 -03:00
parent cbf1d335ed
commit 2c87b7e964
No known key found for this signature in database
GPG key ID: BD9E30D205AB53BA

View file

@ -54,7 +54,7 @@ return {
-- fixes lazy-loading issues with the copilot cmp source -- fixes lazy-loading issues with the copilot cmp source
require("lazyvim.util").on_attach(function(client) require("lazyvim.util").on_attach(function(client)
if client.name == "copilot" then if client.name == "copilot" then
copilot_cmp._on_insert_enter() copilot_cmp._on_insert_enter({})
end end
end) end)
end, end,