On Thu, Aug 5, 2010 at 3:59 PM, Skip <[email protected]> wrote:
>
> 2. s...@skip:~/work/breakout2/TlkMessageExchange$ LANG=C vim -u NONE -
> U NONE .
>
> 3. input :set nocompatible
>
> 4. input :set path=./include
>
> 5. input :find lib.h
>   E345: Can't find file "lib.h" in path
>
> 6. input :set path=include
>
> 7. input :find lib.h
>   File successfully opened.

Thanks for testing and reporting this behavior.

I don't think this is a bug.

The dot in "./include" means the "include" directory under the directory of the
the current file, and your current file in step 5 is the "." directory, which
has no real _filename_ associated with it, hence the error message.

I think it's easy to modify the code to make it work like what you expect, but
that depends on whether the functionality is really needed.

nazri.

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

Raspunde prin e-mail lui