Friday, November 18, 2011

Re: What does '*" in 'exists("*GetAwkIndent")' mean?

On 15/11/11 04:38, Tim Chase wrote:
> On 11/14/11 21:29, Peng Yu wrote:
>> I don't know how to search for the usage of "*" in the
>> following vim code. Could anybody which keyword I should
>> search in vim help for its usage?
>>
>> exists("*GetAwkIndent")
>
> Reading at
>
> :help exists()
>
> mentions that the "*" prefix checks for the existence of a built-in
> function.
>
> -tim
>
>
>

...or a user-defined function. In short: of a function. I would expect
GetAwkIndent() to be defined (if it is) by a script, not by Vim's C code.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
221. Your wife melts your keyboard in the oven.

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

No comments: