Skip to content

Commit

Permalink
alter copilot-lua-cmp accept line mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfluegge committed Jul 31, 2023
1 parent fa830ef commit c438b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/completion/copilot-lua-cmp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ return {
if copilot.is_visible() then copilot.accept_line() end
end)

opts.mapping["<C-j>"] = cmp.mapping(function()
opts.mapping["<C-n>"] = cmp.mapping(function()
if copilot.is_visible() then copilot.accept_line() end
end)

Expand Down

0 comments on commit c438b95

Please sign in to comment.