From 958eb002abe029f8f91d6609750b085ad4f36dd1 Mon Sep 17 00:00:00 2001 From: Jeff Langston Date: Sat, 13 Nov 2021 01:13:10 -0700 Subject: [PATCH] Fix suggestion --- autoload/copilot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/copilot.vim b/autoload/copilot.vim index 197c79fa..70882cb7 100644 --- a/autoload/copilot.vim +++ b/autoload/copilot.vim @@ -488,7 +488,7 @@ function! copilot#Accept(...) abort call s:ClearPreview() let s:suggestion_text = s.text return repeat("\\", s.outdentSize) . repeat("\", s.deleteSize) . - \ "\\=copilot#TextQueuedForInsertion()\" + \ "\\".copilot#TextQueuedForInsertion()."\" endif let default = get(g:, 'copilot_tab_fallback', pumvisible() ? "\" : "\t") if !a:0