From e7dcd1d55bc63c949eeafa3e49b6ffd980db70bf Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 7 Oct 2022 10:29:23 +0200 Subject: [PATCH] nvim: copilot accept fix --- .config/nvim/lua/plugins/copilot.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/copilot.lua b/.config/nvim/lua/plugins/copilot.lua index 2289045..766b423 100644 --- a/.config/nvim/lua/plugins/copilot.lua +++ b/.config/nvim/lua/plugins/copilot.lua @@ -1,5 +1,7 @@ -vim.keymap.set("i", "", [[copilot#Accept("\")]], { noremap = true, silent = true, expr = true, script = true }) +vim.keymap.set("i", "", [[copilot#Accept("")]], { noremap = true, silent = true, expr = true, script = true }) vim.g.copilot_no_tab_map = true vim.g.copilot_assume_mapped = true vim.g.copilot_tab_fallback = "" + +vim.g.copilot_no_tab_map = true