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

This commit is contained in:
Ryan Schlesinger authored and GitHub committed 2023-05-12 16:46:21 +02:00
1 parent cbf1d335ed
commit ad229bbf42
1 file changed
+1 -1
@@ -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,