Commit Graph

195 Commits (4e36a56014cd8615c6142999191d4a097f9b9310)

Author SHA1 Message Date
David Peter a4b674902f Bump version to v0.18.2 3 years ago
David Peter 3c59b98dc8 Add CHANGELOG entry for #1687 3 years ago
Ville Skyttä 0e9d612173 Add change log entry for bash completion 3 years ago
Ville Skyttä 90e48e9b61 Spelling fixes 3 years ago
Martin Nordholts f4217eba73
Merge pull request #1669 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/DotENV-58201ba
Bump assets/syntaxes/02_Extra/DotENV from `a1c9176` to `58201ba`
3 years ago
Mohamed Abdelnour 14900f6ed8 Update `CHANGELOG.md` for #1668 3 years ago
Martin Nordholts bcca56e3b1 CHANGELOG.md: Apply DotENV syntax also for .env.default and .env.defaults 3 years ago
Mohamed Abdelnour cf7d9ef962 Update `CHANGELOG.md` for #1661 3 years ago
Mohamed Abdelnour 8435cad602 Merge master 3 years ago
Mohamed Abdelnour 6fc9641f6a Update CHANGELOG for #1655 3 years ago
Mohamed Abdelnour ef5154d5b3 Update CHANGELOG for #1654 3 years ago
David Peter 73dab51ad1 Bump version, update dependencies 3 years ago
David Peter 9328007d05 Updated CHANGELOG 3 years ago
David Peter 5db3c93057
Merge branch 'master' into syslog 3 years ago
Keith Hall 3559079de0 Improvements to CSV highlighting 3 years ago
Ethan P aa09a9dc04
Update changelog for #1589 3 years ago
Keith Hall 1537733e6b replace Syslog dependency with a custom syntax 3 years ago
Sean McLoughlin d89fa3ebc2 Add SystemVerilog support 3 years ago
David Peter 52f84b063c Update dependencies, MSRV: 1.45 3 years ago
Aleksey Kladov 35347c2310 Improve readability
Using `Path`s for paths expresses intent more clearly.
3 years ago
David Peter b147443c32 Add new unreleased section 3 years ago
David Peter ca60937c2e Do not ignore non-existent BAT_CONFIG_PATH
Do not ignore `BAT_CONFIG_PATH` if it doesn't exist. Both when
generating a new config file with `--generate-config-file` and
when attempting to read the config.

Also, provide a better error message in case the file can not
be created.

closes #1550
3 years ago
David Peter 2aa3ed9da8 Update CHANGELOG 3 years ago
David Peter 7eabb5e05a Highlight *.pac files as JavaScript
closes #1515
3 years ago
Martin Nordholts 37d0d8984c README.md: Warn about buggy snap packages
As discussed in #1519, the batcat snap package is too problematic for
official endorsement, so withdraw recommendation from README.me (and
remove section from CHANGELOG.md since a release with it has not been
made yet).
3 years ago
Keith Hall 2e8c0a39db Add support for env vars and manpage refs with dots to Manpage syntax 3 years ago
Martin Nordholts c48e779e8a CHANGELOG.md: Add entry for #1413 4 years ago
sharkdp 060b9981b5 Remove deprecated PrettyPrinter methods 4 years ago
Martin Nordholts 02e6ff4183 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 7ada963ec2 Add ChangeLog entry 4 years ago
sharkdp 7c227169a4 Add note about breaking change 4 years ago
mark chaitin de6cb75f4b Addressed PR feedback. Upped min version and used matches! macro 4 years ago
mark chaitin 83c9cb7907 fix bug where long lines were truncated in plain mode without wrap=never not being set 4 years ago
Martin Nordholts da10166625 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 2b44940f81 Update CHANGELOG 4 years ago
Martin Nordholts 478233f795 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 7fbb3a5352 Add Zig entry in ChangeLog, see #1470 4 years ago
sharkdp aa5b941ed5 Add ChangeLog entry 4 years ago
Martin Nordholts bfa5342331 Also replace 'more' from PAGER with 'less'
But first do some quite significant refactorings to keep the code clean
and easy to understand.
4 years ago
Martin Nordholts 22bdc7c20f When PAGER=most, don't print a warning to stderr, silently use less instead 4 years ago
sharkdp 6d0e7650c3 Add .resource extension for Robot Framework 4 years ago
Martin Nordholts 552545fe5f Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
Martin Nordholts dcfe883f4b Simplify and polish pager.rs and related code 4 years ago
Martin Nordholts f45fa5e187 CHANGELOG.md: Add bugfix entry for #614 4 years ago
Martin Nordholts cc0f8ca813 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 73d9a95862 Update CHANGELOG 4 years ago
David Peter 07bd7503c5 Update CHANGELOG.md 4 years ago
John Meow 1b5af89ddd Move changelog entry to unreleased 4 years ago
John Meow 3d07dec8fd Use Briles/gruvbox .tmTheme files instead of peaceant's port 4 years ago
Mitchell Kember 3099f51ba7 Add ansi theme to replace ansi-light and ansi-dark
This combines ansi-light and ansi-dark into a single theme that works
with both light and dark backgrounds. Instead of specifying white/black,
the ansi theme uses the terminal's default foreground/background color
by setting alpha=01, i.e. #00000001. This is in addition to the alpha=00
encoding where red contains an ANSI color palette number.

Now, `--theme ansi-light` and `--theme ansi-dark` will print a
deprecation notice and use ansi instead (unless the user has a custom
theme named ansi-light or ansi-dark, which would take precedence).
4 years ago
sharkdp 19e7763f35 Add changelog entry 4 years ago
David Peter 947133d295 Update CHANGELOG.md 4 years ago
Stefan Kunkel cffacad306 make bat -L use pager 4 years ago
David Peter 73c16574e6
Merge branch 'master' into fix-1438-newline-can-be-added-even-if-style-plain 4 years ago
Martin Nordholts 60e00d49a9
Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444)
The macOS version of mktemp does not recognize the --suffix option.
Using pure -d should work since, it seems [1], macOS 10.11 however.

So to make the script work on macOS, stop using the --suffix option.

The downside is of course that the temporary dir will have an anonymous
name, but I see no risk of confusion given how short-lived the usage of
the dir is, and given the context it is used.

[1] https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
4 years ago
Martin Nordholts 68d525cd8b Don't add artificial newline to last line if --style=plain
This fixes #1438.

Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:

  bat --style=plain --paging=never no-newline-at-end-of-file.txt

or use a "pager" that does not add a newline:

  bat --style=plain --pager=cat no-newline-at-end-of-file.txt

Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
4 years ago
rsteube 84b0702399 only print themes hint in interactive mode 4 years ago
purvesh-linux11 f3489ffa29 add packaging in unreleased section 4 years ago
purvesh-linux11 8e6ba2a3e1 update changelog file 4 years ago
purvesh-linux11 bc01999f0d update chagelog.md 4 years ago
purvesh-linux11 b0fcb3065f add snap installtion command 4 years ago
Martin Nordholts 986d0e9777 Ignore PAGER=most by default with a warning to stderr
closes #1063
4 years ago
sharkdp 6d981498d8 Bump version to 0.17.1 4 years ago
sharkdp 8884104e82 Bump version to v0.17.0 4 years ago
sharkdp 35da065445 Add zsh completion fix to CHANGELOG 4 years ago
Ethan P 61f947a580
Merge pull request #1276 from tommilligan/style-rule
style: add component 'rule' for horizontal file delimiter
4 years ago
sharkdp c4bbf28862 Highlight ebuild/eclass files with shell syntax
Upstream patch: https://github.com/sublimehq/Packages/pull/2541

closes #1292
4 years ago
Adrian Rivera 456216ab37 Update CHANGELOG.md 4 years ago
Adrian Rivera c747ac181d Updates CHANGELOG entry 4 years ago
Kyle Hubert 072fb380d8
Add Svelte as a syntax 4 years ago
sharkdp 95954b7c57 Update CHANGELOG 4 years ago
Armand Philippot a707f81726 Add Coldark in New Themes 4 years ago
Keith Hall 5d9adc14e7 Include details about Manpage syntax improvements in the changelog 4 years ago
Tom Milligan d7da4f5f2b
update changelog 4 years ago
gahag 83ecc3d3ac Update changelog 4 years ago
henil b8535689d3 update CHANGELOG.md 4 years ago
sharkdp a74d35582e Update CHANGELOG for 0.16 4 years ago
sharkdp 8d531b6436 Update CHANGELOG 4 years ago
Ethan P fd52c01e78 Add custom languages/themes sections to manpage 4 years ago
sharkdp 1c24ec16e2 Update CHANGELOG 4 years ago
sharkdp f18009e5d5 Remove 'liquid' dependency 4 years ago
Kienyew 6bc477e88f Update CHANGELOG.md 4 years ago
sharkdp a4ffc9d5ed Update CHANGELOG 4 years ago
Kienyew aa182dad76 Update CHANGELOG.md 4 years ago
Alexander Karlis 6017989c4c removed printlns, updated Changelog, updated man 4 years ago
Niklas Mohrin 57a8122a6b Document PR in CHANGELOG.md 4 years ago
Mitchell Kember f9d5e81f0e Add new theme: base16-256
Bat already has a base16 theme. The new base16-256 theme is for users
of base16-shell, who configure their terminal with a 256-color variant
of a base16 theme. These variants put some of the base16 colors in
elsewhere in the 256-color table to avoid clobbering bright color slots
(ansi codes 8 to 15) with colors that don't respect the ordinary meaning
of that slot (e.g. bright green in ordinary base16 is not green).

For more details, see https://github.com/chriskempson/base16-shell
4 years ago
Dash Peters 0e38c1728e Update changelog 4 years ago
Dash Peters c264f74771 Hide alias in help, update man and completions
A long alias doesn't make sense, since `--paging=never` already exists
4 years ago
David Peter 3a62e3d188
Merge pull request #1066 from gsomix/feature/1061-show-all-redirected
Enable non-printable characters for redirected output
4 years ago
Evgeniy Andreev (gsomix) 3c5ce9f86c Enable non-printable chars for redirected output (#1061) 4 years ago
David Peter 611c6e9c74
Merge branch 'master' into add_gruvbox_theme 4 years ago
Kyle Ondy 541f014d50
add peaceant's port of gruvbox themes
This adds Martin Radimec's [1] port [2] of the gruvbox theme [3].

Brian Reilly (Briles) [4] has a pretty complete collection of gruvbox
ports [5] but they are all in `sublime-color-scheme` which is not yet
supported in bat, see #759 [6].

[1] https://github.com/peaceant
[2] https://github.com/peaceant/gruvbox
[3] https://github.com/morhetz/gruvbox
[4] https://github.com/Briles
[5] https://github.com/Briles/gruvbox
[6] https://github.com/sharkdp/bat/issues/759
4 years ago
Caio Alonso 233d375983 Adds GLSL syntax 4 years ago
sharkdp 5ebf0215c5 Update CHANGELOG 4 years ago
Ethan P 9957da6b93 Remove <font> tag from CHANGELOG.md 4 years ago
Ethan P c03a027240 Move PR changes in README to unreleased section 4 years ago
Ethan P 0319149b4d [breaking] Remove special handling for theme previews 4 years ago
Ethan P 2f823d59b0 Add PrettyPrinter::input function 4 years ago
Ethan P 981352992b Add InputDescription API 4 years ago