fix(copilot): latest copilot-cmp requires passing opts to _on_insert_enter (#752)

This commit is contained in:
Ryan Schlesinger
2023-05-12 11:46:21 -03:00
committed by GitHub
parent cbf1d335ed
commit ad229bbf42

View File

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