Skip to content

Commit

Permalink
use feedkeys(xxx, 'ni'), fix #1345 (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSaberLv0 authored Oct 16, 2023
1 parent 9649d3f commit 822c6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp/ui/vim/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function! s:on_complete_done() abort
let s:context['completion_item'] = l:managed_user_data['completion_item']
let s:context['start_character'] = l:managed_user_data['start_character']
let s:context['complete_word'] = l:managed_user_data['complete_word']
call feedkeys(printf("\<C-r>=<SNR>%d_on_complete_done_after()\<CR>", s:SID()), 'n')
call feedkeys(printf("\<C-r>=<SNR>%d_on_complete_done_after()\<CR>", s:SID()), 'ni')
endfunction

"
Expand Down

0 comments on commit 822c6ac

Please sign in to comment.