Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit c8ff1cc

Browse files
committed
fix: use nvim_feedkeys instead of nvim_input
1 parent 2fa537d commit c8ff1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/completion.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Perform a Hack to confirm completion
22
function! completion#completion_confirm() abort
33
lua require'completion'.toggleConfirm()
4-
call nvim_input("<C-Y>")
4+
call nvim_feedkeys("<C-Y>", "n", v:true)
55
endfunction
66

77
function! completion#wrap_completion() abort

0 commit comments

Comments
 (0)