Skip to content

Commit

Permalink
Merge pull request #1589 from Enselic/include-less-in-diagnostic
Browse files Browse the repository at this point in the history
Include LESS in --diagnostic
  • Loading branch information
eth-p committed Apr 6, 2021
2 parents 4384d25 + aa09a9d commit 0b44aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
## Other

- `Input::ordinary_file` and `Input::with_name` now accept `Path` rather than `OsStr` see #1571 (@matklad)
- The `LESS` environment variable is now included in `bat --diagnostic`, see #1589 (@Enselic)
- Increased min. required Rust version to 1.45

## Syntaxes
Expand Down
1 change: 1 addition & 0 deletions src/bin/bat/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ fn run() -> Result<bool> {
.info(EnvironmentVariables::list(&[
"SHELL",
"PAGER",
"LESS",
"BAT_PAGER",
"BAT_CACHE_PATH",
"BAT_CONFIG_PATH",
Expand Down

0 comments on commit 0b44aa6

Please sign in to comment.