Skip to content

Commit 31158e8

Browse files
committed
Bug in copilot#AcceptCharacter
1 parent eea9ae6 commit 31158e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

autoload/copilot.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ function! copilot#AcceptCharacter()
804804
let suggestion = copilot#Accept("")
805805
let bar = copilot#TextQueuedForInsertion()
806806
return split(bar, '[ .]\zs')[0][0]
807+
endfunction
807808

808809
let g:copilot_filetypes = {
809810
\ 'markdown': v:true,

0 commit comments

Comments
 (0)