From 9a9b0ee80122707daeb5cc323e6d19f69bef5a01 Mon Sep 17 00:00:00 2001 From: Selmir Aljic Date: Wed, 21 Feb 2024 15:25:26 +0100 Subject: [PATCH] Fix mapping check for accept line is done against , but the actual mapping is set to --- plugin/copilot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/copilot.vim b/plugin/copilot.vim index 7ec0255c..bbc8ca60 100644 --- a/plugin/copilot.vim +++ b/plugin/copilot.vim @@ -96,7 +96,7 @@ if !get(g:, 'copilot_no_maps') imap (copilot-accept-word) endif if empty(mapcheck('', 'i')) - imap (copilot-accept-line) + imap (copilot-accept-line) endif finally if exists('s:restore_encoding')