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

prevent venv* folders to be parsed by default #86

Open
Tazoeur opened this issue Oct 18, 2024 · 0 comments
Open

prevent venv* folders to be parsed by default #86

Tazoeur opened this issue Oct 18, 2024 · 0 comments

Comments

@Tazoeur
Copy link

Tazoeur commented Oct 18, 2024

Hello,

The require('neotest').summary.toggle() launches the search for tests, and I see that my venv* folders are parsed by neotest. That's a behaviour I'd like to prevent.

I've tried to tweak it with the is_test_file function, but I lost the original behaviour which was doing a great job.

I feel like this folder exclusion could be a useful default, but maybe having a configuration option like exclude_pattern = { "venv*", "dist"} would be better.

I am sorry if there is something trivial that I am missing; I am still in the early stages of building a proper development workflow, and I am not yet confident in my Neovim/Lua skills.

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