View on GitHub


Documentation for check-spelling

Detect binary files

The file utility relies on magic to identify a file's format.

It's possible to ask file to not use all its heuristics (which allow it to precisely identify a file) and merely provide a broad categorization -- returned as a mime type. This enables a fairly good determination of whether a file is not text.

⚠️ This is off by default.

To enable, include:

        use_magic_file: 1

This will be available in v0.0.21

FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts