Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In vim calling Rg with -g "!*/" will not ignore system folder #31

Open
ar1xwe opened this issue Oct 25, 2018 · 0 comments
Open

In vim calling Rg with -g "!*/" will not ignore system folder #31

ar1xwe opened this issue Oct 25, 2018 · 0 comments

Comments

@ar1xwe
Copy link

ar1xwe commented Oct 25, 2018

OS : Windows 10

In command line

rg -g ".c" -g "!/" "foo"

It search all "*.c' file with pattern "foo" non-recursively
but in vim, it would not ignore the "System Volume Information" folder

Try to resolve 1

I did try to append more hidden folder and put file into it, but those folders would just bypassed by the glob flag -g "!*/".

Try to resolve 2

Use wildignore to affect vim to ignore "System Volume Information" folder

set wildignore+=./System\ Volume\ Information
set wildignore+=System\ Volume\ Information

it still not working.

So...is it a issue from vimgrep or vim-rg?


This issue matter a lot. This issue happen on Windows's System Files too.
AND ~
Sometimes the "OS Error" string will ruin the layout of QuickFix and then you'll fail to jump.
and of course the "OS Error" is from "System Volume Information"


@ar1xwe ar1xwe changed the title In vim calling Rg with -g "!*/" will not ignore In vim calling Rg with -g "!*/" will not ignore system folder Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant