Fix #81 - Wrong insert position of fzf#vim#complete
This commit is contained in:
parent
baa6269062
commit
990dfe41ff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue