Skip to content

Commit

Permalink
fix(copilot): latest copilot-cmp requires passing opts to _on_insert_…
Browse files Browse the repository at this point in the history
…enter (#752)
  • Loading branch information
ryansch committed May 12, 2023
1 parent cbf1d33 commit ad229bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/extras/coding/copilot.lua
Expand Up @@ -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,
Expand Down

0 comments on commit ad229bb

Please sign in to comment.