Tuesday, April 29, 2014

Re: Completing functions with # in the name

On 4/28/14, Nikolay Pavlov <zyx.vim@gmail.com> wrote:
> On Apr 29, 2014 7:13 AM, "Vlad Irnov" <vlad.irnov@gmail.com> wrote:
>>
>> On 4/25/14, Nikolay Pavlov <zyx.vim@gmail.com> wrote:
>> > On Apr 25, 2014 11:21 AM, "Chris Allison" <
> chris.charles.allison@gmail.com>
>> > wrote:
>> >>
>> >> Hi skeept,
>> >>
>> >> what version are you using, as with my version it works as expected
>> >
>> > Try doing
>> >
>> > :set iskeyword&vim isident&vim
>> > before completing (this will reset iskeyword and isident options to the
>> > default for vim).
>> >
>> >>
>> >> :call unite# <TAB> will complete with functions that start unite# and
>> >> not at the beginning of the list as in your case.
>> >>
>>
>> I always had this problem. I assumed it was a bug. It can be annoying
>> when developing autoload functions.
>>
>> Doing
>> :set iskeyword&vim isident&vim
>> does not help.
>
> Check out what I replied to: it should not *help* it should make completion
> *no longer work* for a person who says it does work.

OK, I get it. But changing 'iskeyword' and/or 'isident' does not help
either. I tried
:set iskeyword+=# isident+=#
and even crazy
:set isk=1-255 isi=1-255 isf=1-255
without success. Still no command line completion for autoloaded
functions afer #, for example
:call netrw#E<Tab>

Best regards,
Vlad

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: