*Bug description *
When using omni completion, content of preview window and/or separation
bar not redraw properly.
*How to reproduce*
Having jedi-vim plugin (commit c80a08d9835565bb8988d6314dfec616f70c53da):
$ mkdir $HOME/.vim/pack/python/start
$ cd $HOME/.vim/pack/python/start
$ git clone --recursive https://github.com/davidhalter/jedi-vim.git
Using the following omnifunc:
$ cat test.vim
function! Omni_test(findstart, base)
if(a:findstart)
return col(".") - 1
endif
return [{"word":"one","info":"1info"},{"word":"two","info":"2info"}]
endfunction
set omnifunc=Omni_test
Start Vim:
$ vim -S test.vim
And then press "i<c-x><c-o><c-n>"
After pressing Ctrl-n the content of the preview window is wrong.
*Version*
VIM - Vi IMproved 8.2
*Compile configuration flags*
./configure --enable-pythoninterp=yes --prefix $HOME/local
*OS*
Linux Arch 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000
x86_64 GNU/Linux
*Notes*
I tracked the issue to commit 04357fbb87e65e50cc76295aec50114adb5cbd68
Issue was first seen when writing python, but it is not necessary to
edit a python file to reproduce the issue, I just need to have the
plugin jedi-vim.
Attached image shows the issue.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/MN2PR05MB6141B7700162F7F92D08FD52D5550%40MN2PR05MB6141.namprd05.prod.outlook.com.