From 742d4af096eebe36ab9dee19a79d841eaeb4ffb0 Mon Sep 17 00:00:00 2001 From: valdebrutal Date: Wed, 29 Oct 2025 09:49:02 +0200 Subject: [PATCH] Correct copilot.vim accept function in keybind --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2d80dc0..b2824304 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ When you use `@copilot`, the LLM can call functions like `bash`, `edit`, `file`, > > ```lua > vim.g.copilot_no_tab_map = true -> vim.keymap.set('i', '', 'copilot#Accept("\\")', { expr = true, replace_keycodes = false }) +> vim.keymap.set('i', '', require('copilot.suggestion').accept, { expr = true, replace_keycodes = false }) > ``` > > You can also customize CopilotChat keymaps in your config.