Problem: when delete leader to empty it still select before shown_match
Solution: restore to first_match.
https://github.com/vim/vim/pull/14854
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@zeertzjq commented on this pull request.
In src/insexpand.c:
> + if (compl_started && compl_leader != NULL && *compl_leader == NUL) + { + compl_shown_match = compl_no_select ? compl_first_match + : compl_first_match->cp_next; + } +
It seems that the message at the bottom is not updated.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@glepnir commented on this pull request.
In src/testdir/dumps/Test_pum_with_preview_win.dump:
> |~+0#4040ff13&| @73 |~| @73 |[+1#0000000&|S|c|r|a|t|c|h|]| |[|P|r|e|v|i|e|w|]| @37|1|,|1| @11|A|l@1 -|o+0&&|n|e> @71 -|o+0#0000001#e0e0e08|n|e| @11| +0#4040ff13#ffffff0@59 -|t+0#0000001#ffd7ff255|w|o| @11| +0#4040ff13#ffffff0@59 +|t+0&&|w|o> @71
emm seems like not correct.. wired i tried with minimal test.vim and build vim i can't reproduce it ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@glepnir commented on this pull request.
In src/insexpand.c:
> + if (compl_started && compl_leader != NULL && *compl_leader == NUL) + { + compl_shown_match = compl_no_select ? compl_first_match + : compl_first_match->cp_next; + } +
okay .. thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@glepnir pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.
test.vim
has to be under testdir
and Filelist
needed updated.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@chrisbra commented on this pull request.
In src/testdir/test_ins_complete.vim:
> - funct Omni_test(findstart, base) - if a:findstart - return col(".") - 1 - endif - return [#{word: "one", info: "1info"}, #{word: "two", info: "2info"}, #{word: "three", info: "3info"}] - endfunc - set omnifunc=Omni_test - set completeopt+=longest + funct Omni_test(findstart, base) + if a:findstart + return col(".") - 1 + endif + return [#{word: "one", info: "1info"}, #{word: "two", info: "2info"}, #{word: "three", info: "3info"}] + endfunc + set omnifunc=Omni_test + set completeopt+=longest,noselect
why are you adding noselect here?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@glepnir pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.
thanks!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.