Thank you very much for solving it so quickly.
What I was doing with jedi-vim is also back to normal.
On 15/12/2019 13:56, Bram Moolenaar wrote:
Fabrizio Cabaleiro wrote:
I checked what jedi-vim was setting and I found the root cause, now
there is no need to have jedi-vim to reproduce. The problem is related
to 'completeopt' with longest.
Using the same test.vim from previous email, run vim as:
$ vim -S ~/test.vim --cmd 'set completeopt+=longest'
and then press 'i<c-x><c-o><c-n>'
Also, I found out that the issue is timing dependant, I was testing with
tmux and if I send all the keys at once, the issue is not visible, but
if I give a little delay to '<c-n>' the issue is there. To reproduce this:
Start tmux with
$ tmux
Split into two planes with
$ tmux split-pane
List panes with
$ tmux list-panes
The active pane should be %1 and the other should be %0
Now if I execute vim as
$ tmux send-keys -t %0 'vim -S test.vim --cmd "set
completeopt+=longest"' C-m 'i' C-x C-o C-n
The issue is not visible, but if I execute as
$ tmux send-keys -t %0 'vim -S test.vim --cmd "set
completeopt+=longest"' C-m 'i' C-x C-o ; sleep 1 ; tmux send-keys -t %0 C-n
The issue is there.
Thanks for digging into this. I managed to reproduce it now.
Opening the preview window causes the popup to move, and redrawing
happens twice then. The first time the position isn't updated yet, and
a part of the redrawing is skipped. I'll fix that.
--
--
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/MN2PR05MB61418CC7E1F705CEE5522646D5510%40MN2PR05MB6141.namprd05.prod.outlook.com.