Dnia wtorek, 25 lipca 2006 07:11, A.J.Mechelynck napisaƂ:
>
> I don't see any inconsistency. According to the help, findfile() is
> "Just like |finddir()|, but find a file instead of a directory." and
> finddir() has: "When the found directory is below the current directory
> a relative path is returned.  Otherwise a full path is returned." Isn't
> that what you got?

OK. But even when described it is inconsistency.

> Is the semicolon really obligatory?
>
>       :lcd $VIMRUNTIME/doc
>       :echo findfile("help.txt",".")
>
> (without a colon), returns "help.txt", which is the expected result.

Try it from directory below $VIMRUNTIME/doc. Without ; it doesn't look
up.

m.

Reply via email to