Skip to content

Diagnostics for multiple files #124

@9999years

Description

@9999years

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions