Fabrizio Cabaleiro wrote:
> *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.
I tried without that plugin and it appears to work fine.
So to me it sounds like that plugin is causing trouble.
--
hundred-and-one symptoms of being an internet addict:
269. You receive an e-mail from the wife of a deceased president, offering
to send you twenty million dollar, and you are not even surprised.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///