I wrote new version as discussed.
And I made some small changes on a document also.
Please check it, and give any comments.

Thanks.


2011/9/8 MURAOKA Taro <[email protected]>:
>> Instead of "candidates" I would call it "words".  Mainly because it's
>> simpler.
>
> Sure.  I agree!
> I try to implement it later.
>
>
> 2011/9/8 Bram Moolenaar <[email protected]>:
>>
>> Taro Muraoka wrote:
>>
>>> Hmm.  It seems too tricky.  How about this more formed idea.
>>>
>>> Vim can check type of returned value from completefunc, so vim should
>>> accept not only array but also dictionary.  For array value, vim use it
>>> as same as currently.  For dictionary value, vim behaves some parsing on
>>> it.
>>>
>>> For example, 'refresh' means as you wrote, 'candidates' has array of
>>> completion candidates.
>>>
>>>     let l = list-with-complete-items
>>>     return { 'refresh': 'always', 'candidates': l }
>>>
>>> Besides it is extensible for future use.
>>
>> Yes, that would work as well.
>>
>> Instead of "candidates" I would call it "words".  Mainly because it's
>> simpler.
>>
>> --
>> For large projects, Team Leaders use sophisticated project management 
>> software
>> to keep track of who's doing what.  The software collects the lies and 
>> guesses
>> of the project team and organizes them in to instantly outdated charts that
>> are too boring to look at closely.  This is called "planning".
>>                                (Scott Adams - The Dilbert principle)
>>
>>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
>> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
>> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>>
>
>
>
> --
> MURAOKA Taro <[email protected]>
>



-- 
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

Attachment: requery_compl_func2.diff
Description: Binary data

Attachment: requery_compl_func2.vim
Description: Binary data

Raspunde prin e-mail lui