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

wildignore settings are ignored #62

Closed
nobleach opened this issue Jun 24, 2014 · 3 comments
Closed

wildignore settings are ignored #62

nobleach opened this issue Jun 24, 2014 · 3 comments

Comments

@nobleach
Copy link

In my .vimrc I have

set wildignore+= /node_modules/, dist/*, foo, bar

Any time I use Ag to search for anything, results from dist show up. How can I get it to REALLY ignore that directory.

@losingkeys
Copy link
Collaborator

By default this plugin doesn't take into account 'wildignore' settings. ag however should ignore what's in your .gitignore or .hgignore. There are still some bugs around this though (see this search for a few).

@nobleach
Copy link
Author

Bummer. I'm I'm stuck with SVN. I'll explore other options. Thanks!

@losingkeys
Copy link
Collaborator

Hmm... You can use .agignore to ignore files. There might be a sneaky way to use vim autocmds to change the value of 'wildignore' when vim starts (maybe with VimEnter?) Anyway thanks for the report! We'll reopen if another maintainer wants to coordinate ag ignore stuff... though imo this is managed well enough by ag itself.

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

2 participants