mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 20:54:28 +08:00
Fix #81 - Wrong insert position of fzf#vim#complete
This commit is contained in:
@@ -873,7 +873,7 @@ function! s:complete_insert(lines)
|
||||
endif
|
||||
|
||||
let data = call(s:reducer, [a:lines])
|
||||
execute 'normal!' (s:eol ? '' : 'h').del.(s:eol ? 'a': 'i').data
|
||||
execute 'normal!' ((s:eol || empty(chars)) ? '' : 'h').del.(s:eol ? 'a': 'i').data
|
||||
if has('nvim')
|
||||
call feedkeys('a')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user