vim9script
def MyComplete(findstart: number, base: string): any
if findstart
return col('.') - 1 - match(getline('.')->strpart(0, col('.') - 1), '\k*$')
endif
return [
{word: 'printf', info: 'printf info'},
{word: 'printer', info: 'printer info'},
{word: 'printable', info: 'printable info'},
]
enddef
set completefunc=MyComplete
set completeopt=menuone,noselect,popuphidden
set shortmess+=c
Hello,
The popup should remain hidden at all times unless explicitly shown by the user (e.g., via popup_show()).
Without shortmess+=c, the popup stays hidden as expected.
With shortmess+=c, the info popup momentarily appears and then vanishes during completion navigation.
Thank you!
9.1.1806 (GTK3 GUI)
GNU/Linux
GTK3
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
is this by any chance fixed by 71b97f2 ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Hello,
Same with 9.1.1813
I noticed this behavior some time ago but didn’t report it because I was using a workaround: temporarily toggling shortmess+=c off and back on around the action (i.e., :set shortmess-=c before and :set shortmess+=c after).
The issue appears only in gVim when shortmess+=c is set.
In terminal Vim, the behavior is correct both with and without shortmess+=c—no flash occurs.
Regards,
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.