Dimitar Dimitrov wrote:

> I would like to report some unexpected behaviour:
> 
> 1. :set path+=~/dev/**
> 2. :find test.c                         works
> 
> 1. :set path+=~/dev
> 2. :find **/test.c                     doesn't work
> 
> And yet, :h wildcard suggests that it should...
> 
> Note: File in ~/dev/project/example/test.c

Where does it say that ":find **/test.c" should work?
It says ":n **/test.c" works, but that is not using 'path'.

Nevertheless, there is a todo item:

Patch for completion of ":find" arguments. (Nazri Ramliy, 2009 Feb 22, 26)
8   For ":find" and ":sfind" expand files found in 'path'.
Update 2009 Mar 28.

Perhaps that one makes it work as you expect.

-- 
(letter from Mark to Mike, about the film's probable certificate)
      For an 'A' we would have to: Lose as many shits as possible; Take Jesus
      Christ out, if possible; Loose "I fart in your general direction"; Lose
      "the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your
      testicles"
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui