Closed James-A1 closed 6 years ago
Unite file_rec/async still shows files from ignored globs (unite#custom#source ignore_globs) I followed the steps from the documentation (see vimrc) Note: ignore_pattern works
ignore_pattern
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,node_modules/*,vendor/* call plug#begin() Plug 'Shougo/vimproc.vim' Plug 'Shougo/unite.vim' call plug#end() call unite#sources#rec#define() call unite#custom#source('file_rec/async', 'ignore_globs', \ split(&wildignore, ',')) nnoremap <C-p> :Unite file_rec/async<cr>
:Unite file_rec/async
I have tested it in the minimal vimrc and it works. node_modules or so files are ignored.
node_modules
so
Problems summary
Unite file_rec/async still shows files from ignored globs (unite#custom#source ignore_globs) I followed the steps from the documentation (see vimrc) Note:
ignore_pattern
worksEnvironment Information
My minimal vimrc
Steps
:Unite file_rec/async