nil icon indicating copy to clipboard operation
nil copied to clipboard

Diagnostics for multiple files

Open 9999years opened this issue 1 year ago • 0 comments

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 avatar Mar 01 '24 18:03 9999years