Closed dim882 closed 6 years ago
The pattern is wrong.
It must be:
call unite#custom#source('file_rec,file_rec/async', 'ignore_pattern', '/app/\|/node_modules/\|/dist/')
Thanks. But now Unite file_rec/async
returns only 9 results and Unite file_rec
returns 68 results. Neither is correct.
I don't work for it(I ignore your issue). Because, you have not uploaded the example project directory to reproduce it. I cannot reproduce the problem. So it is not unite.vim problem. Closing.
Problems summary
I'm trying to simply use the commands
Unite file_rec/async
orUnite file_rec
to navigate files in a directory, ignoring certain directories. The results are very incorrect.Expected
I should get results of all the files in the current directory that aren't in the ignored directory.
Environment Information
Provide a minimal .vimrc with less than 50 lines (Required!)
The reproduce ways from Vim starting (Required!)
Enter the following in ex mode:
Returns only 10 results, the last one of which is in the
dist
dir, which should be ignored.Returns 441 results, which includes items in the
dist
dir, then results stop there.In neither case does it list most of the files in the current directory.
Upload the log messages by
:redir
and:message
Both return
E475: Invalid argument: