Make sure copilot right arrow doesnt consume right arrow input in insert

mode when there is nothing suggested
This commit is contained in:
Martin Larsson 2024-11-14 22:17:25 +01:00
parent e09a435efa
commit 009e95c2f6

View file

@ -5,7 +5,7 @@ return {
require("utils").add_keymaps({
i = {
["<Right>"] = {
cmd = 'copilot#Accept("")',
cmd = 'copilot#Accept("\\<Right>")',
opts = {
expr = true,
replace_keycodes = false,