Hi vim-dev list and Bram.
I found and fixed a problem, that complete-function isn't called when
leader changed.
To re-produce this problem, try below:
1. source attached vim script: requery_compl_func.vim
* It completes very limited strings, only "a" and "ab".
* Complete "a" to "foo1", "foo2" and "foo3".
* Complete "ab" to "bar1", "bar2" and "bar3".
2. Insert a character "a" then start complete by function (i_CTRL-X_CTRL-U).
* Three candidates ("foo1" - "foo3") will be shown, which returned
by script.
3. Cancel candidate by CTRL-P (and completion mode wi be continue).
4. Type a character "b" (of cource completion mode is continue).
At step 4, I expect that complete function be called because of leader changing,
and three other candidate ("bar1" - "bar3") should be shown.
But it won't, actually.
Attached patch will fix this, please check it.
Thanks.
--
MURAOKA Taro <[email protected]>
--
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
requery_compl_func.diff
Description: Binary data
requery_compl_func.vim
Description: Binary data
