diff --git a/lua/astrocommunity/completion/copilot-lua-cmp/init.lua b/lua/astrocommunity/completion/copilot-lua-cmp/init.lua index 116702182..38e5631a2 100644 --- a/lua/astrocommunity/completion/copilot-lua-cmp/init.lua +++ b/lua/astrocommunity/completion/copilot-lua-cmp/init.lua @@ -51,7 +51,7 @@ return { if copilot.is_visible() then copilot.accept_line() end end) - opts.mapping[""] = cmp.mapping(function() + opts.mapping[""] = cmp.mapping(function() if copilot.is_visible() then copilot.accept_line() end end)