Hi Bram and list!
I found an infopopup behavior that interfered with the display of the current line while completing insert mode.
How to reproduce:
- Open a terminal of size 80x24.
- Change directory to your vim/src
$ cd /path to your/vim/src
- Run vanilla Vim with some setings.
$ vim --clean +"set completeopt+=popup completepopup=align:menu" screen.c
- Enter insert mode with `O` and type `scr`.
Oscr
- Enter Omni completion mode
<C-X><C-O>
Expected behavior:
- Current line displayed properly.
Actual behavior:
- infopopup obstructs the display of the current line.
See attached image `infopopup_ng.png`.
Remarks:
- When change the terminal size to 150x24 etc., the current line will be displayed correctly.
See attached image `infopopup_ok.png`.
I think the current line should be displayed under any circumstances.
And I think it would be better if Vim could inform me that infopopup is not displayed correctly by last line etc.
--
Best regards,
Hirohito Higashi (h_east)