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

Diagnostics for multiple files #124

Open
9999years opened this issue Mar 1, 2024 · 0 comments · May be fixed by #126
Open

Diagnostics for multiple files #124

9999years opened this issue Mar 1, 2024 · 0 comments · May be fixed by #126

Comments

@9999years
Copy link

nil diagnostics only accepts a single filename, so the obvious glob doesn't work:

$ nil diagnostics **/*.nix
Unrecognized argument: my-file.nix

Run nil --help for more information.

This works, but it's a bit cumbersome:

find . -path '*.nix' -exec nil diagnostics {} \;

It would also be nice if nil diagnostics with no arguments automatically discovered all .nix files in the current directory and its subdirectories.

@9999years 9999years linked a pull request Mar 1, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant