eth-p / eth-p/bat-extras

feature: support bat's `--language` option

Open
#135 2 comments 1 reaction 0 assignees View on GitHub
batgrep enhancement
Dominant language
Shell
Stars
1.6k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

when i `batgrep` generic files, e.g. `*.txt`, the matching text isn't highlighted since `bat` is not aware which language the file is. it would be great if the file's language could be passed to `bat` via the `--language` option, starting with `batgrep`. many thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.